diff options
author | Richard Levitte <levitte@openssl.org> | 2017-12-27 18:29:36 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-12-28 16:07:58 +0100 |
commit | bfa470a4f64313651a35571883e235d3335054eb (patch) | |
tree | b6675484f7b90f396b23c34b5449e86ce8d58c4d /apps/apps.h | |
parent | 8175af50cc208c09f92b30358d30dd86c798b60e (diff) |
Add 'openssl req' option to specify extension values on command line
The idea is to be able to add extension value lines directly on the
command line instead of through the config file, for example:
openssl req -new -extension 'subjectAltName = DNS:dom.ain, DNS:oth.er' \
-extension 'certificatePolicies = 1.2.3.4'
Fixes #3311
Thank you Jacob Hoffman-Andrews for the inspiration
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4986)
Diffstat (limited to 'apps/apps.h')
-rw-r--r-- | apps/apps.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/apps.h b/apps/apps.h index 321f6444da..6d0d7015f8 100644 --- a/apps/apps.h +++ b/apps/apps.h @@ -52,6 +52,7 @@ BIO *dup_bio_err(int format); BIO *bio_open_owner(const char *filename, int format, int private); BIO *bio_open_default(const char *filename, char mode, int format); BIO *bio_open_default_quiet(const char *filename, char mode, int format); +CONF *app_load_config_bio(BIO *in, const char *filename); CONF *app_load_config(const char *filename); CONF *app_load_config_quiet(const char *filename); int app_load_modules(const CONF *config); |