forked from wolfSSL/wolfssl
compatibility layer psk updates
This commit is contained in:
15
cyassl/ssl.h
15
cyassl/ssl.h
@ -532,12 +532,24 @@
|
||||
#define CyaSSL_SetDecryptVerifyCtx wolfSSL_SetDecryptVerifyCtx
|
||||
#define CyaSSL_GetDecryptVerifyCtx wolfSSL_GetDecryptVerifyCtx
|
||||
#define CyaSSL_CTX_SetDecryptVerifyCb wolfSSL_CTX_SetDecryptVerifyCb
|
||||
|
||||
/* psk specific */
|
||||
#ifndef NO_PSK
|
||||
|
||||
#define CyaSSL_get_psk_identity wolfSSL_get_psk_identity /**/
|
||||
#define CyaSSL_get_psk_identity_hint wolfSSL_get_psk_identity_hint /**/
|
||||
#define CyaSSL_use_psk_identity_hint wolfSSL_use_psk_identity_hint /**/
|
||||
#define CyaSSL_set_psk_client_callback wolfSSL_set_psk_client_callback /**/
|
||||
#define CyaSSL_set_psk_server_callback wolfSSL_set_psk_server_callback /**/
|
||||
#define CyaSSL_CTX_use_psk_identity_hint wolfSSL_CTX_use_psk_identity_hint /**/
|
||||
#define CyaSSL_CTX_set_psk_client_callback \
|
||||
wolfSSL_CTX_set_psk_client_callback /**/
|
||||
#define CyaSSL_CTX_set_psk_server_callback \
|
||||
wolfSSL_CTX_set_psk_server_callback /**/
|
||||
|
||||
#endif
|
||||
/* end psk specific */
|
||||
|
||||
/* Anonymous */
|
||||
#define CyaSSL_CTX_allow_anon_cipher wolfSSL_CTX_allow_anon_cipher /**/
|
||||
|
||||
@ -624,7 +636,8 @@
|
||||
#define CyaSSL_CertManagerSetCRL_Cb wolfSSL_CertManagerSetCRL_Cb
|
||||
#define CyaSSL_CertManagerCheckOCSP wolfSSL_CertManagerCheckOCSP
|
||||
#define CyaSSL_CertManagerSetOCSP_Cb wolfSSL_CertManagerSetOCSP_Cb
|
||||
#define CyaSSL_CertManagerSetOCSPOverrideURL wolfSSL_CertManagerSetOCSPOverrideURL
|
||||
#define CyaSSL_CertManagerSetOCSPOverrideURL \
|
||||
wolfSSL_CertManagerSetOCSPOverrideURL
|
||||
|
||||
#define CyaSSL_DisableCRL wolfSSL_DisableCRL
|
||||
#define CyaSSL_EnableOCSP wolfSSL_EnableOCSP
|
||||
|
Reference in New Issue
Block a user