Initialise OCSP-related pointers before use.
authorJeremy Harris <jgh146exb@wizmail.org>
Tue, 18 Dec 2012 16:36:27 +0000 (16:36 +0000)
committerJeremy Harris <jgh146exb@wizmail.org>
Tue, 18 Dec 2012 16:39:13 +0000 (16:39 +0000)
src/src/tls-openssl.c

index 4409935..67c9c37 100644 (file)
@@ -788,6 +788,8 @@ cbinfo->certificate = certificate;
 cbinfo->privatekey = privatekey;
 #ifdef EXPERIMENTAL_OCSP
 cbinfo->ocsp_file = ocsp_file;
 cbinfo->privatekey = privatekey;
 #ifdef EXPERIMENTAL_OCSP
 cbinfo->ocsp_file = ocsp_file;
+cbinfo->ocsp_file_expanded = NULL;
+cbinfo->ocsp_response = NULL;
 #endif
 cbinfo->dhparam = dhparam;
 cbinfo->host = host;
 #endif
 cbinfo->dhparam = dhparam;
 cbinfo->host = host;