From: Bodo Möller Date: Tue, 11 May 1999 22:05:39 +0000 (+0000) Subject: Comment. X-Git-Tag: OpenSSL_0_9_3beta1~101 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=d797727b20d92d0ecbbbb1b29b09893b7ecfb62f Comment. Submitted by: Reviewed by: PR: --- diff --git a/crypto/x509/x509_vfy.c b/crypto/x509/x509_vfy.c index 7bee6158a4..62d4d98053 100644 --- a/crypto/x509/x509_vfy.c +++ b/crypto/x509/x509_vfy.c @@ -143,7 +143,11 @@ int X509_verify_cert(X509_STORE_CTX *ctx) for (;;) { /* If we have enough, we break */ - if (depth < num) break; + if (depth < num) break; /* FIXME: If this happens, we should take + * note of it and, if appropriate, use the + * X509_V_ERR_CERT_CHAIN_TOO_LONG error + * code later. + */ /* If we are self signed, we break */ xn=X509_get_issuer_name(x);