projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: some patches related to error exiting
[openssl.git]
/
apps
/
verify.c
diff --git
a/apps/verify.c
b/apps/verify.c
index 24bbebf3f399f215f0fe98408f21479eaaa4f794..d504acd5b81ac04f4662594175ec76b8162ed6b6 100644
(file)
--- a/
apps/verify.c
+++ b/
apps/verify.c
@@
-263,6
+263,7
@@
static int check(X509_STORE *ctx, const char *file,
if (x509_ctrl_string(x, opt) <= 0) {
BIO_printf(bio_err, "parameter error \"%s\"\n", opt);
ERR_print_errors(bio_err);
+ X509_free(x);
return 0;
}
}