summaryrefslogtreecommitdiffstats
path: root/crypto/x509
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2003-09-30 16:47:33 +0000
committerDr. Stephen Henson <steve@openssl.org>2003-09-30 16:47:33 +0000
commit299024498004473a58e780cdf8ec83e85a04f807 (patch)
treee16796b7efe137a249f1816ac3befe076a96f483 /crypto/x509
parentc798868d9669d4de7906e76814701b503da663ce (diff)
ASN1 parse fix and release file changes.
Diffstat (limited to 'crypto/x509')
-rw-r--r--crypto/x509/x509_vfy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/x509_vfy.c b/crypto/x509/x509_vfy.c
index f60054bd39..2bb21b443e 100644
--- a/crypto/x509/x509_vfy.c
+++ b/crypto/x509/x509_vfy.c
@@ -674,7 +674,7 @@ static int internal_verify(X509_STORE_CTX *ctx)
ok=(*cb)(0,ctx);
if (!ok) goto end;
}
- if (X509_verify(xs,pkey) <= 0)
+ else if (X509_verify(xs,pkey) <= 0)
/* XXX For the final trusted self-signed cert,
* this is a waste of time. That check should
* optional so that e.g. 'openssl x509' can be