]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Replace BIO_free(bio_err) with BIO_free_all(bio_err) 19469/head
authorxkernel <xkernel.wang@foxmail.com>
Wed, 19 Oct 2022 17:11:16 +0000 (01:11 +0800)
committerTomas Mraz <tomas@openssl.org>
Fri, 21 Oct 2022 14:09:57 +0000 (16:09 +0200)
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)

apps/openssl.c

index 3497d51f4df6be3663c485414ba47e4e4342a83e..f5ee1476ffda5eef975de714b108338d51ff4919 100644 (file)
@@ -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);
 }