aboutsummaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2018-07-09 14:55:17 -0400
committerRich Salz <rsalz@openssl.org>2018-07-09 14:55:17 -0400
commitf99648638c8340cbc0cb7ddaa54309435bda9530 (patch)
treeb4842acb1800863d1aef295ca5f9674bc321e79e /apps
parentfb853fa245a98b3451818e43a6664219725fd43a (diff)
downloadopenssl-f99648638c8340cbc0cb7ddaa54309435bda9530.zip
openssl-f99648638c8340cbc0cb7ddaa54309435bda9530.tar.gz
openssl-f99648638c8340cbc0cb7ddaa54309435bda9530.tar.bz2
Add tests for the "req" command, -addext flag
Also fixed a memory leak found by the test. Reviewed-by: Andy Polyakov <appro@openssl.org> (Merged from https://github.com/openssl/openssl/pull/6681)
Diffstat (limited to 'apps')
-rw-r--r--apps/req.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/req.c b/apps/req.c
index 066e7c6..48f3a3a 100644
--- a/apps/req.c
+++ b/apps/req.c
@@ -947,6 +947,7 @@ int req_main(int argc, char **argv)
ERR_print_errors(bio_err);
}
NCONF_free(req_conf);
+ NCONF_free(addext_conf);
BIO_free(addext_bio);
BIO_free(in);
BIO_free_all(out);