diff options
author | Bernard Spil <brnrd@FreeBSD.org> | 2016-06-12 18:18:31 +0000 |
---|---|---|
committer | Bernard Spil <brnrd@FreeBSD.org> | 2016-06-12 18:18:31 +0000 |
commit | f0d02d0f752555e0a57ad832099c50872a8598b9 (patch) | |
tree | 88dd9ecfc4c20e41b228a80208a9d89aa6ca287a /sysutils/webjob/files/patch-tools_webjob-dsvtool_ssl.c | |
parent | - allow build with openssl / libressl from ports (diff) |
sysutils/webjob: Fix build without SSLv2
PR: 203701
Sponsored by: BSDCan 2016
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); |