OpenSSL: fix non-OCSP build
[exim.git] / src / src / tls-openssl.c
index c63e56c0e9c3fcd9f3b982924407252c40406591..043755c84b87ba607ce980080081dc0304e7d5ee 100644 (file)
@@ -1923,7 +1923,9 @@ tls_server_creds_invalidate(void)
 {
 SSL_CTX_free(state_server.lib_state.lib_ctx);
 state_server.lib_state = null_tls_preload;
+#ifndef DISABLE_OCSP
 state_server.u_ocsp.server.file_expanded = NULL;
+#endif
 }