Fix building with HAVE_EXT_CACHE when OPENSSL_EXTRA is not defined. Fixes issue #1474.

This commit is contained in:
David Garske
2018-04-04 09:02:52 -07:00
parent adb817e8d2
commit 5702e8ee48

View File

@@ -16195,7 +16195,7 @@ int wolfSSL_session_reused(WOLFSSL* ssl)
return ssl->options.resuming;
}
#ifdef OPENSSL_EXTRA
#if defined(OPENSSL_EXTRA) || defined(HAVE_EXT_CACHE)
void wolfSSL_SESSION_free(WOLFSSL_SESSION* session)
{
if (session == NULL)