From 5702e8ee484bdefb62e85ec831816baf30430149 Mon Sep 17 00:00:00 2001 From: David Garske Date: Wed, 4 Apr 2018 09:02:52 -0700 Subject: [PATCH] Fix building with `HAVE_EXT_CACHE` when `OPENSSL_EXTRA` is not defined. Fixes issue #1474. --- src/ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssl.c b/src/ssl.c index add3b78d4..1b0e803b9 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -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)