From 791767e0263b0a1b8f2e61cce788ebb9920aecc1 Mon Sep 17 00:00:00 2001 From: toddouska Date: Fri, 26 Apr 2013 10:28:30 -0700 Subject: [PATCH] make sure unloadcas works w/o filesystem --- cyassl/ssl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cyassl/ssl.h b/cyassl/ssl.h index 7155e8732..05675b9b3 100644 --- a/cyassl/ssl.h +++ b/cyassl/ssl.h @@ -167,7 +167,6 @@ CYASSL_API int CyaSSL_CTX_use_certificate_file(CYASSL_CTX*, const char*, int); CYASSL_API int CyaSSL_CTX_use_PrivateKey_file(CYASSL_CTX*, const char*, int); CYASSL_API int CyaSSL_CTX_load_verify_locations(CYASSL_CTX*, const char*, const char*); -CYASSL_API int CyaSSL_CTX_UnloadCAs(CYASSL_CTX*); CYASSL_API int CyaSSL_CTX_use_certificate_chain_file(CYASSL_CTX *, const char *file); CYASSL_API int CyaSSL_CTX_use_RSAPrivateKey_file(CYASSL_CTX*, const char*, int); @@ -791,6 +790,7 @@ CYASSL_API int CyaSSL_make_eap_keys(CYASSL*, void* key, unsigned int len, #ifndef NO_CERTS /* SSL_CTX versions */ + CYASSL_API int CyaSSL_CTX_UnloadCAs(CYASSL_CTX*); CYASSL_API int CyaSSL_CTX_load_verify_buffer(CYASSL_CTX*, const unsigned char*, long, int); CYASSL_API int CyaSSL_CTX_use_certificate_buffer(CYASSL_CTX*,