diff options
author | Rob Austein <sra@hactrn.net> | 2006-09-13 03:50:51 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2006-09-13 03:50:51 +0000 |
commit | ad0cb33f63fce6a1c4b9a8364b6ddbac92953f4e (patch) | |
tree | e1fdb4a537c2e1f5a252a3ae120f2d409b0232ad /openssl/trunk/crypto/x509/x509_vfy.c | |
parent | f3a285df3d9376236f42d64a88f01c00ad0907a3 (diff) |
Compile time conditionals, per Ben.
svn path=/openssl/trunk/Configure; revision=269
Diffstat (limited to 'openssl/trunk/crypto/x509/x509_vfy.c')
-rw-r--r-- | openssl/trunk/crypto/x509/x509_vfy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openssl/trunk/crypto/x509/x509_vfy.c b/openssl/trunk/crypto/x509/x509_vfy.c index ecee8164..00981706 100644 --- a/openssl/trunk/crypto/x509/x509_vfy.c +++ b/openssl/trunk/crypto/x509/x509_vfy.c @@ -312,11 +312,13 @@ int X509_verify_cert(X509_STORE_CTX *ctx) ok=internal_verify(ctx); if(!ok) goto end; +#ifdef OPENSSL_RFC3779 /* RFC 3779 path validation, now that CRL check has been done */ ok = v3_asid_validate_path(ctx); if (!ok) goto end; ok = v3_addr_validate_path(ctx); if (!ok) goto end; +#endif /* If we get this far evaluate policies */ if (!bad_chain && (ctx->param->flags & X509_V_FLAG_POLICY_CHECK)) |