]> 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:38 +0000 (19:33 +0200)
commit96ccc4146d459ddfd54f77835302c1a7a20d0cfb
treeb768096455d9da9662397cca7581066bcf3ec227
parent00022bc543aee3722c465c68108b2b663e94fa39
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