From 81526f8384c36a0a1a046d7979b8e0f2223d79b9 Mon Sep 17 00:00:00 2001 From: toddouska Date: Wed, 20 Jul 2016 10:37:31 -0700 Subject: [PATCH] move wolfSSL Get RNG out of ifdef in header --- wolfssl/ssl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wolfssl/ssl.h b/wolfssl/ssl.h index f1b13cf10..69ce185e6 100644 --- a/wolfssl/ssl.h +++ b/wolfssl/ssl.h @@ -992,7 +992,6 @@ WOLFSSL_API int wolfSSL_CTX_SetTmpDH_buffer(WOLFSSL_CTX*, const unsigned char* WOLFSSL_API int wolfSSL_CTX_SetMinDhKey_Sz(WOLFSSL_CTX*, unsigned short); WOLFSSL_API int wolfSSL_SetMinDhKey_Sz(WOLFSSL*, unsigned short); WOLFSSL_API int wolfSSL_GetDhKey_Sz(WOLFSSL*); -WOLFSSL_API WC_RNG* wolfSSL_GetRNG(WOLFSSL*); #endif /* NO_DH */ #ifndef NO_RSA @@ -1175,6 +1174,8 @@ enum { WOLFSSL_CHAIN_CA = 2 /* added to cache from trusted chain */ }; +WOLFSSL_API WC_RNG* wolfSSL_GetRNG(WOLFSSL*); + WOLFSSL_API int wolfSSL_CTX_SetMinVersion(WOLFSSL_CTX* ctx, int version); WOLFSSL_API int wolfSSL_SetMinVersion(WOLFSSL* ssl, int version); WOLFSSL_API int wolfSSL_GetObjectSize(void); /* object size based on build */