Disable SSLv2 access methods in kdebase if underlying system does not support them

NOTE: This may cause as-of-yet unknown glitches in the crypto kcontrol module GUI.  File bugs if any are noted!


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1258117 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent 28310a5368
commit 30e57327d5

@ -2333,6 +2333,7 @@ SSL_CONST SSL_METHOD *meth;
SSLv2Box->clear();
SSLv3Box->clear();
#ifndef OPENSSL_NO_SSL2
meth = SSLv2_client_method();
SSLeay_add_ssl_algorithms();
ctx = SSL_CTX_new(meth);
@ -2360,6 +2361,7 @@ SSL_CONST SSL_METHOD *meth;
if (ctx) SSL_CTX_free(ctx);
if (ssl) SSL_free(ssl);
#endif
// We repeat for SSLv3
meth = SSLv3_client_method();

Loading…
Cancel
Save