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:04:02 +0200 |
commit | 3801c689b206147d30d991bddefdde48993accc6 (patch) | |
tree | 8f879606b50a1b7984110a50bde3454103c5b677 /include | |
parent | 6ff69665eb87db56b0f1fdbaf3113cb66f0c2fdd (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 f5c55a3fbe..e53b9d3b08 100644 --- a/include/openssl/pkcs7.h.in +++ b/include/openssl/pkcs7.h.in @@ -57,8 +57,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; |