summaryrefslogtreecommitdiff
path: root/crypto/asn1/t_x509a.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-11-27 19:43:10 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-11-27 19:43:10 +0000
commit51630a37069a0792f2d6ad6ce33e9c5cca27b69c (patch)
tree295ee6e11fede84a1ac1cf5404b1c3edfe2e7ba8 /crypto/asn1/t_x509a.c
parent74ecf9e2bbff8bb85b8da313b2ea44df487ef550 (diff)
downloadopenssl-new-51630a37069a0792f2d6ad6ce33e9c5cca27b69c.tar.gz
Add trust setting support to the verify code. It now checks the
trust settings of the root CA. After a few fixes it seems to work OK. Still need to add support to SSL and S/MIME code though.
Diffstat (limited to 'crypto/asn1/t_x509a.c')
-rw-r--r--crypto/asn1/t_x509a.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/crypto/asn1/t_x509a.c b/crypto/asn1/t_x509a.c
index 5c15d09e43..0e342723aa 100644
--- a/crypto/asn1/t_x509a.c
+++ b/crypto/asn1/t_x509a.c
@@ -99,13 +99,13 @@ int X509_CERT_AUX_print(BIO *out, X509_CERT_AUX *aux, int indent)
int i;
if(!aux) return 1;
if(aux->trust) {
- BIO_printf(out, "%*sTrusted for:\n", indent, "");
+ BIO_printf(out, "%*sTrusted Uses:\n", indent, "");
ASN1_BIT_STRING_name_print(out, aux->trust, tbits, indent + 2);
- } else BIO_printf(out, "%*sNo Trust Settings\n", indent + 2, "");
+ } else BIO_printf(out, "%*sNo Trusted Uses.\n", indent, "");
if(aux->reject) {
- BIO_printf(out, "%*sUntrusted for:\n", indent, "");
+ BIO_printf(out, "%*sRejected Uses:\n", indent, "");
ASN1_BIT_STRING_name_print(out, aux->reject, tbits, indent + 2);
- } else BIO_printf(out, "%*sNo Untrusted Settings\n", indent + 2, "");
+ } else BIO_printf(out, "%*sNo Rejected Uses.\n", indent, "");
if(aux->othertrust) {
first = 1;
BIO_printf(out, "%*sOther Trusted Uses:\n%*s",
@@ -121,7 +121,7 @@ int X509_CERT_AUX_print(BIO *out, X509_CERT_AUX *aux, int indent)
}
if(aux->otherreject) {
first = 1;
- BIO_printf(out, "%*sOther Untrusted Uses:\n%*s",
+ BIO_printf(out, "%*sOther Rejected Uses:\n%*s",
indent, "", indent + 2, "");
for(i = 0; i < sk_ASN1_OBJECT_num(aux->otherreject); i++) {
if(!first) BIO_puts(out, ", ");