summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorxkernel <xkernel.wang@foxmail.com>2022-10-20 01:11:16 +0800
committerTomas Mraz <tomas@openssl.org>2022-10-21 16:09:57 +0200
commita73bdc24e14760413a65d478d7c88356b4b95bb5 (patch)
tree0955e875ec3a966ea0a02d183111802455da7880 /apps
parent6a94c5849ea7d1f08d4fcaa9a6fc0a947e19da66 (diff)
Replace BIO_free(bio_err) with BIO_free_all(bio_err)
dup_bio_err() can return a BIO chain when 'OPENSSL_SYS_VMS' is defined. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19446)
Diffstat (limited to 'apps')
-rw-r--r--apps/openssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/openssl.c b/apps/openssl.c
index 3497d51f4d..f5ee1476ff 100644
--- a/apps/openssl.c
+++ b/apps/openssl.c
@@ -307,7 +307,7 @@ int main(int argc, char *argv[])
BIO_free(bio_in);
BIO_free_all(bio_out);
apps_shutdown();
- BIO_free(bio_err);
+ BIO_free_all(bio_err);
EXIT(ret);
}