summaryrefslogtreecommitdiffstats
path: root/crypto/x509
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2006-12-06 13:36:48 +0000
committerDr. Stephen Henson <steve@openssl.org>2006-12-06 13:36:48 +0000
commit10ca15f3fa50726a838fc8a61026dea2c303d218 (patch)
treec7a9c07d62ecac71c2dabd817bd498a4751f1007 /crypto/x509
parentda736b31b22aa5c06aa14135dbf337389b5d3c3a (diff)
Fix change to OPENSSL_NO_RFC3779
Diffstat (limited to 'crypto/x509')
-rw-r--r--crypto/x509/x509.h2
-rw-r--r--crypto/x509/x509_vfy.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/x509/x509.h b/crypto/x509/x509.h
index b70a008b85..4cc55b8f51 100644
--- a/crypto/x509/x509.h
+++ b/crypto/x509/x509.h
@@ -291,7 +291,7 @@ struct x509_st
AUTHORITY_KEYID *akid;
X509_POLICY_CACHE *policy_cache;
STACK_OF(DIST_POINT) *crldp;
-#ifdef OPENSSL_RFC3779
+#ifndef OPENSSL_NO_RFC3779
STACK_OF(IPAddressFamily) *rfc3779_addr;
struct ASIdentifiers_st *rfc3779_asid;
#endif
diff --git a/crypto/x509/x509_vfy.c b/crypto/x509/x509_vfy.c
index d58f90010b..28cdb6b721 100644
--- a/crypto/x509/x509_vfy.c
+++ b/crypto/x509/x509_vfy.c
@@ -314,7 +314,7 @@ int X509_verify_cert(X509_STORE_CTX *ctx)
ok=internal_verify(ctx);
if(!ok) goto end;
-#ifdef OPENSSL_RFC3779
+#ifndef OPENSSL_NO_RFC3779
/* RFC 3779 path validation, now that CRL check has been done */
ok = v3_asid_validate_path(ctx);
if (!ok) goto end;