[openssl/openssl] 206ec5: crypto/pkcs7/pk7_lib.c: fix return value in PKCS7_...

0 views
Skip to first unread message

Abel Thomas

unread,
Jun 22, 2026, 6:14:28 AM (23 hours ago) Jun 22
to openssl...@openssl.org
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: 206ec55fec48d37960e01df1e12f0ed71a200c35
https://github.com/openssl/openssl/commit/206ec55fec48d37960e01df1e12f0ed71a200c35
Author: Abel Tom <abeltom...@gmail.com>
Date: 2026-06-22 (Mon, 22 Jun 2026)

Changed paths:
M crypto/pkcs7/pk7_lib.c

Log Message:
-----------
crypto/pkcs7/pk7_lib.c: fix return value in PKCS7_set_digest()

Return 0 when the passed object to PKCS7_set_digest() is not of type PKCS7
digest.

Fixes: c5a55463892d "Add support for digested data PKCS#7 type."
Resolves: https://github.com/openssl/openssl/issues/31551

Reviewed-by: Matt Caswell <ma...@openssl.foundation>
Reviewed-by: Norbert Pocs <norb...@openssl.org>
Reviewed-by: Eugene Syromiatnikov <es...@openssl.org>
Reviewed-by: Tim Hudson <t...@openssl.org>
MergeDate: Mon Jun 22 08:17:32 2026
(Merged from https://github.com/openssl/openssl/pull/31559)



To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications
Reply all
Reply to author
Forward
0 new messages