ocsp.h: Fix backward compatibility decl for OCSP_parse_url() by including http.h
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>
Thu, 9 Jul 2020 06:00:59 +0000 (08:00 +0200)
committerDr. David von Oheimb <David.von.Oheimb@siemens.com>
Fri, 10 Jul 2020 07:14:54 +0000 (09:14 +0200)
Fixes #12386

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12399)

include/openssl/ocsp.h

index d5ccff0e8bc41b0e8e97e91a7673f29084c5bbe2..1c514efeee7e098386480030105155d89474c6a9 100644 (file)
@@ -17,6 +17,7 @@
 # endif
 
 # include <openssl/opensslconf.h>
+# include <openssl/http.h> /* for OSSL_HTTP_parse_url */
 
 /*
  * These definitions are outside the OPENSSL_NO_OCSP guard because although for