diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2016-05-10 23:39:05 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-05-18 10:44:08 +0100 |
commit | fba13663980f35b013b63372b1d24429e4d1e024 (patch) | |
tree | 59202530a96f52202bf9fd50394d1eddd17d60a5 /apps/ca.c | |
parent | bde136c89f87b66d49e9d03e3b34c68b6b1d1e26 (diff) |
Locally declare some variables
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'apps/ca.c')
-rw-r--r-- | apps/ca.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -133,9 +133,7 @@ char *make_revocation_str(int rev_type, char *rev_arg); int make_revoked(X509_REVOKED *rev, const char *str); static int old_entry_print(ASN1_OBJECT *obj, ASN1_STRING *str); -static CONF *conf = NULL; static CONF *extconf = NULL; -static char *section = NULL; static int preserve = 0; static int msie_hack = 0; @@ -220,6 +218,7 @@ OPTIONS ca_options[] = { int ca_main(int argc, char **argv) { + CONF *conf = NULL; ENGINE *e = NULL; BIGNUM *crlnumber = NULL, *serial = NULL; EVP_PKEY *pkey = NULL; @@ -233,7 +232,7 @@ int ca_main(int argc, char **argv) STACK_OF(X509) *cert_sk = NULL; X509_CRL *crl = NULL; const EVP_MD *dgst = NULL; - char *configfile = default_config_file; + char *configfile = default_config_file, *section = NULL; char *md = NULL, *policy = NULL, *keyfile = NULL; char *certfile = NULL, *crl_ext = NULL, *crlnumberfile = NULL; char *infile = NULL, *spkac_file = NULL, *ss_cert_file = NULL; |