forked from wolfSSL/wolfssl
define SSL_OP_* in openssl/ssl.h for compatibility
This commit is contained in:
committed by
Hayden Roche
parent
b8c90b369e
commit
dae4d637c9
@ -1385,6 +1385,12 @@ wolfSSL_X509_STORE_set_verify_cb((WOLFSSL_X509_STORE *)(s), (WOLFSSL_X509_STORE_
|
||||
#define SSL_CTRL_SET_TLSEXT_TICKET_KEY_CB 72
|
||||
#endif
|
||||
|
||||
/* Some openssl consumers try to detect these options with ifdef, defining
|
||||
* here since we use an enum internally instead */
|
||||
#define SSL_OP_SINGLE_DH_USE SSL_OP_SINGLE_DH_USE
|
||||
#define SSL_OP_SINGLE_ECDH_USE SSL_OP_SINGLE_ECDH_USE
|
||||
#define SSL_OP_CIPHER_SERVER_PREFERENCE SSL_OP_CIPHER_SERVER_PREFERENCE
|
||||
|
||||
#define OPENSSL_config wolfSSL_OPENSSL_config
|
||||
#define OPENSSL_memdup wolfSSL_OPENSSL_memdup
|
||||
#define OPENSSL_cleanse wolfSSL_OPENSSL_cleanse
|
||||
|
Reference in New Issue
Block a user