diff options
author | Dr. David von Oheimb <dev@ddvo.net> | 2023-10-13 22:30:31 +0200 |
---|---|---|
committer | Dr. David von Oheimb <dev@ddvo.net> | 2023-10-17 22:02:16 +0200 |
commit | e15891b477fe9c3d3dc6f331812c9e8afc48dc05 (patch) | |
tree | 349be8fc477c5ec01ed80eea1765b76ce958e037 /include | |
parent | 143ca66cf00c88950d689a8aa0c89888052669f4 (diff) |
PKCS7_SIGNER_INFO: point out confusing names of digest_enc_alg and enc_digest fields
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22390)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/pkcs7.h.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/openssl/pkcs7.h.in b/include/openssl/pkcs7.h.in index 127d6afea8..57e45dc2fb 100644 --- a/include/openssl/pkcs7.h.in +++ b/include/openssl/pkcs7.h.in @@ -60,8 +60,8 @@ typedef struct pkcs7_signer_info_st { PKCS7_ISSUER_AND_SERIAL *issuer_and_serial; X509_ALGOR *digest_alg; STACK_OF(X509_ATTRIBUTE) *auth_attr; /* [ 0 ] */ - X509_ALGOR *digest_enc_alg; - ASN1_OCTET_STRING *enc_digest; + X509_ALGOR *digest_enc_alg; /* confusing name, actually used for signing */ + ASN1_OCTET_STRING *enc_digest; /* confusing name, actually signature */ STACK_OF(X509_ATTRIBUTE) *unauth_attr; /* [ 1 ] */ /* The private key to sign with */ EVP_PKEY *pkey; |