projects
/
project
/
ustream-ssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5322f9d
)
don't use SSL_CTX_set_ecdh_auto with wolfSSL
author
Daniel Golle
<daniel@makrotopia.org>
Thu, 24 May 2018 16:44:27 +0000
(18:44 +0200)
committer
Daniel Golle
<daniel@makrotopia.org>
Thu, 24 May 2018 16:44:27 +0000
(18:44 +0200)
SSL_CTX_set_ecdh_auto() isn't support by wolfSSL (yet).
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
ustream-openssl.c
patch
|
blob
|
history
diff --git
a/ustream-openssl.c
b/ustream-openssl.c
index eb03dab1ac1dd08f4db5901d56c852d6607ce4fc..91bc4e821b5826051d1dbdb9ae713ae2281a392a 100644
(file)
--- 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);
-#if
ndef OPENSSL_NO_ECDH
+#if
!defined(OPENSSL_NO_ECDH) && !defined(CYASSL_OPENSSL_H_)
SSL_CTX_set_ecdh_auto(c, 1);
#endif
if (server)