[krbdev.mit.edu #9069] git commit
Greg Hudson via RT
rt at krbdev.mit.edu
Tue Jul 11 18:56:08 EDT 2023
<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9069 >
Update error checking for OpenSSL CMS_verify
The code for CMS data verification was initially written for OpenSSL's
PKCS7_verify() function. It now uses CMS_verify(), but error handling
is still done using PKCS7_verify() error identifiers. Update the
recognized error codes so that the KDC generates
KDC_ERR_DIGEST_IN_SIGNED_DATA_NOT_ACCEPTED errors when appropriate.
Use ERR_peek_last_error() to observe the error generated closest to
the API surface.
[ghudson at mit.edu: edited commit message]
(cherry picked from commit 70f61d417261ca17efe3d60d180033bea2da60b0)
https://github.com/krb5/krb5/commit/9a2051998c9446f56ba40a29e56c625b83e38467
Author: Julien Rische <jrische at redhat.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: 9a2051998c9446f56ba40a29e56c625b83e38467
Branch: krb5-1.20
src/plugins/preauth/pkinit/pkinit_crypto_openssl.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
More information about the krb5-bugs
mailing list