diff options
author | Dr. Stephen Henson <steve@openssl.org> | 1999-04-18 23:21:03 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 1999-04-18 23:21:03 +0000 |
commit | 41b731f2f883a583554566d4e702cc51298ee9e1 (patch) | |
tree | e615e3efe269cf2359cb3e4a2139b119f71900a2 /apps/req.c | |
parent | 8de421b6d9ee7cf72a11e35a74553fcdf1d8708f (diff) |
Initial support for Certificate Policies extension: print out works but setting
isn't fully implemented (yet).
Diffstat (limited to 'apps/req.c')
-rw-r--r-- | apps/req.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/req.c b/apps/req.c index 0cfed93878..bb3a65a5bc 100644 --- a/apps/req.c +++ b/apps/req.c @@ -438,7 +438,10 @@ bad: extensions = CONF_get_string(req_conf, SECTION, V3_EXTENSIONS); if(extensions) { /* Check syntax of file */ - if(!X509V3_EXT_check_conf(req_conf, extensions)) { + X509V3_CTX ctx; + X509V3_set_ctx_test(&ctx); + X509V3_set_conf_lhash(&ctx, req_conf); + if(!X509V3_EXT_add_conf(req_conf, &ctx, extensions, NULL)) { BIO_printf(bio_err, "Error Loading extension section %s\n", extensions); goto end; |