diff options
author | Gunter Knauf <gk@gknw.de> | 2008-02-19 23:10:07 +0000 |
---|---|---|
committer | Gunter Knauf <gk@gknw.de> | 2008-02-19 23:10:07 +0000 |
commit | f9a60620818b6a19ebe3e6f15e1b57d7012e6fb0 (patch) | |
tree | c2bc254dd996004ffef3b7af8eb66b36d1010bf1 /lib/qssl.c | |
parent | 0cae2010440de8757a3a15792892d52d8e158bd6 (diff) |
applied patch to disable SSLv2 by default; discussion:
http://sourceforge.net/tracker/index.php?func=detail&aid=1767276&group_id=976&atid=350976
Submitted by Kaspar Brand.
Diffstat (limited to 'lib/qssl.c')
-rw-r--r-- | lib/qssl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/qssl.c b/lib/qssl.c index d89f01730..0252b465e 100644 --- a/lib/qssl.c +++ b/lib/qssl.c @@ -90,7 +90,7 @@ static CURLcode Curl_qsossl_init_session(struct SessionHandle * data) memset((char *) &initappstr, 0, sizeof initappstr); initappstr.applicationID = certname; initappstr.applicationIDLen = strlen(certname); - initappstr.protocol = SSL_VERSION_CURRENT; + initappstr.protocol = TLSV1_SSLV3; initappstr.sessionType = SSL_REGISTERED_AS_CLIENT; rc = SSL_Init_Application(&initappstr); @@ -190,7 +190,7 @@ static CURLcode Curl_qsossl_handshake(struct connectdata * conn, int sockindex) default: case CURL_SSLVERSION_DEFAULT: - h->protocol = SSL_VERSION_CURRENT; + h->protocol = TLSV1_SSLV3; break; case CURL_SSLVERSION_TLSv1: |