OpenSSL: fix non-OCSP build
authorJeremy Harris <jgh146exb@wizmail.org>
Tue, 23 Aug 2022 17:34:29 +0000 (18:34 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Tue, 23 Aug 2022 17:34:33 +0000 (18:34 +0100)
Broken-by: 9641b6648d
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
 }