[sr-dev] git:master:b1c6c2af: tls: check for support of SSLv3 method
Daniel-Constantin Mierla
miconda at gmail.com
Mon Nov 9 09:24:01 CET 2015
Module: kamailio
Branch: master
Commit: b1c6c2af7e96c0bcbdee4ff46f6faf19fdc75d9f
URL: https://github.com/kamailio/kamailio/commit/b1c6c2af7e96c0bcbdee4ff46f6faf19fdc75d9f
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-11-09T09:23:44+01:00
tls: check for support of SSLv3 method
- some versions of libssl removed support for SSLv3
- reported by Victore Seva, FS#391
---
Modified: modules/tls/tls_init.c
---
Diff: https://github.com/kamailio/kamailio/commit/b1c6c2af7e96c0bcbdee4ff46f6faf19fdc75d9f.diff
Patch: https://github.com/kamailio/kamailio/commit/b1c6c2af7e96c0bcbdee4ff46f6faf19fdc75d9f.patch
---
diff --git a/modules/tls/tls_init.c b/modules/tls/tls_init.c
index bd14647..d7f3cef 100644
--- a/modules/tls/tls_init.c
+++ b/modules/tls/tls_init.c
@@ -344,9 +344,11 @@ static void init_ssl_methods(void)
ssl_methods[TLS_USE_SSLv2 - 1] = SSLv2_method();
#endif
+#ifndef OPENSSL_NO_SSL3_METHOD
ssl_methods[TLS_USE_SSLv3_cli - 1] = SSLv3_client_method();
ssl_methods[TLS_USE_SSLv3_srv - 1] = SSLv3_server_method();
ssl_methods[TLS_USE_SSLv3 - 1] = SSLv3_method();
+#endif
ssl_methods[TLS_USE_TLSv1_cli - 1] = TLSv1_client_method();
ssl_methods[TLS_USE_TLSv1_srv - 1] = TLSv1_server_method();
More information about the sr-dev
mailing list