Fix no-ocsp
authorRichard Levitte <levitte@openssl.org>
Fri, 13 Jan 2017 11:03:16 +0000 (12:03 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 13 Jan 2017 11:03:25 +0000 (12:03 +0100)
The use of EXFLAG_SET requires the inclusion of openssl/x509v3.h.
openssl/ocsp.h does that, except when OCSP is disabled.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2227)

crypto/x509/x_all.c

index 86f4d70..59f96a5 100644 (file)
@@ -18,6 +18,7 @@
 #include <openssl/ocsp.h>
 #include <openssl/rsa.h>
 #include <openssl/dsa.h>
+#include <openssl/x509v3.h>
 
 int X509_verify(X509 *a, EVP_PKEY *r)
 {