diff options
author | Bodo Möller <bodo@openssl.org> | 1999-05-11 22:05:39 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 1999-05-11 22:05:39 +0000 |
commit | d797727b20d92d0ecbbbb1b29b09893b7ecfb62f (patch) | |
tree | 99548ec72cdf3379a2c86b2ea21e9432bc346daa | |
parent | 54a29df0ec79db2e38c8b3a58a276fa47ae80199 (diff) |
Comment.
Submitted by:
Reviewed by:
PR:
-rw-r--r-- | crypto/x509/x509_vfy.c | 6 |
1 files changed, 5 insertions, 1 deletions
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); |