diff options
author | Daniel Golle <daniel@makrotopia.org> | 2018-05-24 18:44:27 +0200 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2018-05-24 18:44:27 +0200 |
commit | 189cd38b4188bfcb4c8cf67d8ae71741ffc2b906 (patch) | |
tree | f4900c10b8a1a44a4904aa7909c097d91eaf5953 | |
parent | 5322f9db23b69fdc2b4760a6cfd67848a11818a4 (diff) | |
download | ustream-ssl-189cd38b4188bfcb4c8cf67d8ae71741ffc2b906.tar.gz |
don't use SSL_CTX_set_ecdh_auto with wolfSSL
SSL_CTX_set_ecdh_auto() isn't support by wolfSSL (yet).
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
-rw-r--r-- | ustream-openssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ustream-openssl.c b/ustream-openssl.c index eb03dab..91bc4e8 100644 --- a/ustream-openssl.c +++ b/ustream-openssl.c @@ -49,7 +49,7 @@ __ustream_ssl_context_new(bool server) return NULL; SSL_CTX_set_verify(c, SSL_VERIFY_NONE, NULL); -#ifndef OPENSSL_NO_ECDH +#if !defined(OPENSSL_NO_ECDH) && !defined(CYASSL_OPENSSL_H_) SSL_CTX_set_ecdh_auto(c, 1); #endif if (server) |