diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2022-11-29 07:08:42 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2022-11-29 07:08:42 +0000 |
commit | 7fea277f6c50da388ed560d52c5906b22b08fc0a (patch) | |
tree | c43b6898d1ad8109bc6b072656465c8f49097064 /lib/libcrypto | |
parent | f80a45afa25dc1a3cbd8c044f383b10d7b2feb94 (diff) |
Add missing X509_V_ERR_UNSPECIFIED case
Diffstat (limited to 'lib/libcrypto')
-rw-r--r-- | lib/libcrypto/x509/x509_txt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libcrypto/x509/x509_txt.c b/lib/libcrypto/x509/x509_txt.c index 58c0566686a..2a4e49df10d 100644 --- a/lib/libcrypto/x509/x509_txt.c +++ b/lib/libcrypto/x509/x509_txt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509_txt.c,v 1.23 2022/11/29 07:06:12 tb Exp $ */ +/* $OpenBSD: x509_txt.c,v 1.24 2022/11/29 07:08:41 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -73,6 +73,8 @@ X509_verify_cert_error_string(long n) switch ((int)n) { case X509_V_OK: return "ok"; + case X509_V_ERR_UNSPECIFIED: + return "Unspecified certificate verification error"; case X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT: return "unable to get issuer certificate"; case X509_V_ERR_UNABLE_TO_GET_CRL: |