summaryrefslogtreecommitdiffstats
path: root/apps/req.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-04-16 23:57:04 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-04-16 23:57:04 +0000
commit1d48dd001915bbccf1f08b4b431dd945d351ec5d (patch)
tree22cd1900ea47b395687a756966a23239fc07b6cd /apps/req.c
parentc5db363e1b75f8452e4c888402a8ecb291b13838 (diff)
Add initial support for r2i RAW extensions which can access the config database
add various X509V3_CTX helper functions and support for LHASH as the config database.
Diffstat (limited to 'apps/req.c')
-rw-r--r--apps/req.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/req.c b/apps/req.c
index cb9d9d16fa..136cdc7d01 100644
--- a/apps/req.c
+++ b/apps/req.c
@@ -666,11 +666,8 @@ loop:
/* Set up V3 context struct */
- ext_ctx.issuer_cert = x509ss;
- ext_ctx.subject_cert = x509ss;
- ext_ctx.subject_req = NULL;
- ext_ctx.crl = NULL;
- ext_ctx.flags = 0;
+ X509V3_set_ctx(&ext_ctx, x509ss, x509ss, NULL, NULL, 0);
+ X509V3_set_conf_lhash(&ext_ctx, req_conf);
/* Add extensions */
if(extensions && !X509V3_EXT_add_conf(req_conf,