summaryrefslogtreecommitdiff
path: root/lib/libcrypto/x509/x509_txt.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2004-04-25 18:57:52 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2004-04-25 18:57:52 +0000
commit840af56478d680c6217cd84de9404db219ea196f (patch)
tree1204d90b331b5500f12f3e44a0c2fa4f5659fd8a /lib/libcrypto/x509/x509_txt.c
parent6eb107b71f410fa9f4b7e3d5027ec786c8f7921f (diff)
update missing pieces from 0.9.7d; ok henning
crank minor for API extensions
Diffstat (limited to 'lib/libcrypto/x509/x509_txt.c')
-rw-r--r--lib/libcrypto/x509/x509_txt.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libcrypto/x509/x509_txt.c b/lib/libcrypto/x509/x509_txt.c
index 9d09ae17e82..e31ebc6741a 100644
--- a/lib/libcrypto/x509/x509_txt.c
+++ b/lib/libcrypto/x509/x509_txt.c
@@ -147,8 +147,14 @@ const char *X509_verify_cert_error_string(long n)
case X509_V_ERR_UNHANDLED_CRITICAL_EXTENSION:
return("unhandled critical extension");
+ case X509_V_ERR_KEYUSAGE_NO_CRL_SIGN:
+ return("key usage does not include CRL signing");
+
+ case X509_V_ERR_UNHANDLED_CRITICAL_CRL_EXTENSION:
+ return("unhandled critical CRL extension");
+
default:
- snprintf(buf,sizeof buf,"error number %ld",n);
+ BIO_snprintf(buf,sizeof buf,"error number %ld",n);
return(buf);
}
}