aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/x509/x509_trs.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2001-02-26 14:17:58 +0000
committerDr. Stephen Henson <steve@openssl.org>2001-02-26 14:17:58 +0000
commitfafc7f987563ee2ea199ef27608f5a25a7cbe253 (patch)
tree9cd72b61d3b19287753753274f8b4fb64fd8ca2e /crypto/x509/x509_trs.c
parentd88a26c4892152c326d8b4ca80a0cc59fe8c8d51 (diff)
downloadopenssl-fafc7f987563ee2ea199ef27608f5a25a7cbe253.tar.gz
Enhance OCSP_request_verify() so it finds the signers certificate
properly and supports several flags.
Diffstat (limited to 'crypto/x509/x509_trs.c')
-rw-r--r--crypto/x509/x509_trs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/x509/x509_trs.c b/crypto/x509/x509_trs.c
index 7a41bc2d82..4f48b55160 100644
--- a/crypto/x509/x509_trs.c
+++ b/crypto/x509/x509_trs.c
@@ -82,7 +82,8 @@ static X509_TRUST trstandard[] = {
{X509_TRUST_SSL_CLIENT, 0, trust_1oidany, "SSL Client", NID_client_auth, NULL},
{X509_TRUST_SSL_SERVER, 0, trust_1oidany, "SSL Client", NID_server_auth, NULL},
{X509_TRUST_EMAIL, 0, trust_1oidany, "S/MIME email", NID_email_protect, NULL},
-{X509_TRUST_OCSP_SIGN, 0, trust_1oid, "OCSP responder", NID_OCSP_sign, NULL}
+{X509_TRUST_OCSP_SIGN, 0, trust_1oid, "OCSP responder", NID_OCSP_sign, NULL},
+{X509_TRUST_OCSP_REQUEST, 0, trust_1oid, "OCSP request", NID_ad_OCSP, NULL}
};
#define X509_TRUST_COUNT (sizeof(trstandard)/sizeof(X509_TRUST))