]> 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:33:43 +0000 (19:33 +0200)
commitd6cd0b66241db22769a8b5323bc2be983eb73cbc
treedb02d00f79b5b66dd2212c0e9e2b83f1c6e2ae92
parent1016d96b1bb4bdbb249ac0f24447a530e679c779
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