diff options
Diffstat (limited to 'sysutils/webjob/files/patch-tools_webjob-dsvtool_ssl.c')
-rw-r--r-- | sysutils/webjob/files/patch-tools_webjob-dsvtool_ssl.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/webjob/files/patch-tools_webjob-dsvtool_ssl.c b/sysutils/webjob/files/patch-tools_webjob-dsvtool_ssl.c new file mode 100644 index 000000000000..41257f228acb --- /dev/null +++ b/sysutils/webjob/files/patch-tools_webjob-dsvtool_ssl.c @@ -0,0 +1,12 @@ +--- tools/webjob-dsvtool/ssl.c.orig 2015-10-04 14:04:34 UTC ++++ tools/webjob-dsvtool/ssl.c +@@ -241,7 +241,8 @@ SslInitializeCTX(SSL_PROPERTIES *psPrope + * + ********************************************************************* + */ +- psProperties->psslCTX = SSL_CTX_new(SSLv3_client_method()); ++ psProperties->psslCTX = SSL_CTX_new(SSLv23_client_method()); ++ SSL_CTX_set_options(psProperties->psslCTX, SSL_OP_NO_SSL2 ); + if (psProperties->psslCTX == NULL) + { + ERR_error_string(ERR_get_error(), acLocalError); |