]> git.ipfire.org Git - thirdparty/openssl.git/commit
demos/cms/cms_ddec.c: Replace "in" with "dcont" to correctly check the success of...
authorJiasheng Jiang <jiashengjiangcool@gmail.com>
Fri, 27 Jun 2025 15:59:13 +0000 (15:59 +0000)
committerTomas Mraz <tomas@openssl.org>
Tue, 1 Jul 2025 17:34:06 +0000 (19:34 +0200)
commitc829030da5c7d550c6335fc6d250d10965139eb6
tree709664aa07bf1e40cd87e62936eeadaf9697b5e0
parentf243be83804ed301f365f1976550c905e9fc4f96
demos/cms/cms_ddec.c: Replace "in" with "dcont" to correctly check the success of BIO_new_file()

Replace "in" with "dcont" to properly check the return value of BIO_new_file().

Fixes: 1728756 ("Detached encrypt/decrypt example, fix decrypt sample.")
Signed-off-by: Jiasheng Jiang <jiashengjiangcool@gmail.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/27896)

(cherry picked from commit 8a7545607e872ccaff3018e2cd201cce65e615ec)
demos/cms/cms_ddec.c