Merge pull request #190 from NickolasLapp/stunnel_session_changes

Implement missing openssl API
This commit is contained in:
toddouska
2015-11-12 16:11:01 -08:00

View File

@ -9968,6 +9968,7 @@ int wolfSSL_session_reused(WOLFSSL* ssl)
#ifdef OPENSSL_EXTRA
void wolfSSL_SESSION_free(WOLFSSL_SESSION* session)
{
/* No need to free since cache is static */
(void)session;
}
#endif
@ -10410,10 +10411,10 @@ char* wolfSSL_CIPHER_description(WOLFSSL_CIPHER* cipher, char* in, int len)
}
WOLFSSL_SESSION* wolfSSL_get1_session(WOLFSSL* ssl) /* what's ref count */
WOLFSSL_SESSION* wolfSSL_get1_session(WOLFSSL* ssl)
{
(void)ssl;
return 0;
/* sessions are stored statically, no need for reference count */
return wolfSSL_get_session(ssl);
}