From 53ddf53a45728e8602d9122f6d1a280ab96931b5 Mon Sep 17 00:00:00 2001 From: kaleb-himes Date: Mon, 5 Jan 2015 14:38:16 -0700 Subject: [PATCH] compatibility layer update --- cyassl/ssl.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cyassl/ssl.h b/cyassl/ssl.h index 765872f50..7c1124fd8 100644 --- a/cyassl/ssl.h +++ b/cyassl/ssl.h @@ -269,7 +269,7 @@ wolfSSL_CTX_set_psk_server_callback /**/ /* Anonymous */ -#define CyaSSL_CTX_allow_anon_cipher wolfSSL_CTX_allow_anon_cipher +#define CyaSSL_CTX_allow_anon_cipher wolfSSL_CTX_allow_anon_cipher /**/ /* Error Handling and Debugging*/ #define CyaSSL_get_error wolfSSL_get_error @@ -365,6 +365,8 @@ #define CyaSSL_use_certificate_chain_file wolfSSL_use_certificate_chain_file /* TLS Extensions */ +#define CYASSL_SNI_HOST_NAME WOLFSSL_SNI_HOST_NAME + #define CyaSSL_UseSNI wolfSSL_UseSNI #define CyaSSL_CTX_UseSNI wolfSSL_CTX_UseSNI #define CyaSSL_SNI_SetOptions wolfSSL_SNI_SetOptions