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:08:13 +0200 |
commit | 6c01eb3dca93ce51cf91319ed6df31a59b31b71b (patch) | |
tree | 6c143e6cdca131975a5336376ac88fddc9df9eda /include | |
parent | da6159e62f681ed7228bd326e314f74417858c6e (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)
(cherry picked from commit e15891b477fe9c3d3dc6f331812c9e8afc48dc05)
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 0a0c415b10..71bad50cc5 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; |