Skip to content

Commit

Permalink
State why ECDH is disabled with OpenSSL < 1.0.0e
Browse files Browse the repository at this point in the history
  • Loading branch information
droe committed May 11, 2012
1 parent 38d2241 commit a3b6d58
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ssl.h
Expand Up @@ -38,6 +38,11 @@
#include <openssl/x509.h>
#include <openssl/x509v3.h>

/*
* ECDH is disabled when building against OpenSSL < 1.0.0e due to issues with
* thread-safety and security in server mode ephemereal ECDH cipher suites.
* http://www.openssl.org/news/secadv_20110906.txt
*/
#if (OPENSSL_VERSION_NUMBER < 0x10000000L) && !defined(OPENSSL_NO_THREADID)
#define OPENSSL_NO_THREADID
#endif
Expand Down

0 comments on commit a3b6d58

Please sign in to comment.