projects
/
umurmur.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c72ebd2
)
Hotfix TLSv1 support for OpenSSL #84
author
Felix Morgner
<felix.morgner@gmail.com>
Sun, 6 Mar 2016 22:54:51 +0000
(23:54 +0100)
committer
Felix Morgner
<felix.morgner@gmail.com>
Sun, 6 Mar 2016 22:54:51 +0000
(23:54 +0100)
src/ssli_openssl.c
patch
|
blob
|
history
diff --git
a/src/ssli_openssl.c
b/src/ssli_openssl.c
index 2dd55ef8839bfe334c717c896305416543b4608f..0f631d20276a2c1dc0cca6ae5a085c95cdc53e87 100644
(file)
--- a/
src/ssli_openssl.c
+++ b/
src/ssli_openssl.c
@@
-222,7
+222,9
@@
void SSLi_init(void)
SSL_load_error_strings();
ERR_load_crypto_strings();
- context = SSL_CTX_new(TLSv1_2_server_method());
+ context = SSL_CTX_new(SSLv23_server_method());
+ SSL_CTX_set_options(context, SSL_OP_NO_SSLv2);
+ SSL_CTX_set_options(context, SSL_OP_NO_SSLv3);
if (context == NULL)
{
ERR_print_errors_fp(stderr);