summaryrefslogtreecommitdiffstats
path: root/crypto/x509/x509_txt.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/x509/x509_txt.c')
-rw-r--r--crypto/x509/x509_txt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/x509/x509_txt.c b/crypto/x509/x509_txt.c
index 6ce8a722cc..63d8d95f3f 100644
--- a/crypto/x509/x509_txt.c
+++ b/crypto/x509/x509_txt.c
@@ -178,6 +178,9 @@ const char *X509_verify_cert_error_string(long n)
return "subject signature algorithm and issuer public key algorithm mismatch";
case X509_V_ERR_NO_ISSUER_PUBLIC_KEY:
return "issuer certificate doesn't have a public key";
+ case X509_V_ERR_UNSUPPORTED_SIGNATURE_ALGORITHM:
+ return "Cannot find certificate signature algorithm";
+
default:
/* Printing an error number into a static buffer is not thread-safe */
return "unknown certificate verification error";