diff options
Diffstat (limited to 'security/broccoli/files/patch-aux_broccoli_src_bro__openssl.c')
-rw-r--r-- | security/broccoli/files/patch-aux_broccoli_src_bro__openssl.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/security/broccoli/files/patch-aux_broccoli_src_bro__openssl.c b/security/broccoli/files/patch-aux_broccoli_src_bro__openssl.c new file mode 100644 index 0000000..c6c0b45 --- /dev/null +++ b/security/broccoli/files/patch-aux_broccoli_src_bro__openssl.c @@ -0,0 +1,14 @@ +--- aux/broccoli/src/bro_openssl.c.orig 2015-09-06 19:43:23 UTC ++++ aux/broccoli/src/bro_openssl.c +@@ -302,7 +302,11 @@ __bro_openssl_init(void) + * to set up an SSL connection now and abort if this fails in any way. + */ + ++#ifndef OPENSSL_NO_SSL3 + if (! (ctx = SSL_CTX_new(SSLv3_method()))) ++#else ++ if (! (ctx = SSL_CTX_new(SSLv23_method()))) ++#endif + D_RETURN_(FALSE); + + /* We expect things to be stored in PEM format, which means that we |