diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-03-23 14:42:34 +0100 |
---|---|---|
committer | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-04-18 19:54:17 +0200 |
commit | 642f60d8402ade17701fc8c4eeecc3a086e86c63 (patch) | |
tree | c5ffc49826fc318e1f1370e1e751b933d72ef91f /crypto/cmp/cmp_vfy.c | |
parent | 7a417606677c646d33d65de2fd298bc93d943edf (diff) |
Rename CMP_PROTECTEDPART to OSSL_CMP_PROTECTEDPART for consistency
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11386)
Diffstat (limited to 'crypto/cmp/cmp_vfy.c')
-rw-r--r-- | crypto/cmp/cmp_vfy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/cmp/cmp_vfy.c b/crypto/cmp/cmp_vfy.c index 11688059da..1ee1b3325e 100644 --- a/crypto/cmp/cmp_vfy.c +++ b/crypto/cmp/cmp_vfy.c @@ -32,7 +32,7 @@ static int verify_signature(const OSSL_CMP_CTX *cmp_ctx, const OSSL_CMP_MSG *msg, X509 *cert) { EVP_MD_CTX *ctx = NULL; - CMP_PROTECTEDPART prot_part; + OSSL_CMP_PROTECTEDPART prot_part; int digest_nid, pk_nid; const EVP_MD *digest = NULL; EVP_PKEY *pubkey = NULL; @@ -62,7 +62,7 @@ static int verify_signature(const OSSL_CMP_CTX *cmp_ctx, prot_part.header = msg->header; prot_part.body = msg->body; - len = i2d_CMP_PROTECTEDPART(&prot_part, &prot_part_der); + len = i2d_OSSL_CMP_PROTECTEDPART(&prot_part, &prot_part_der); if (len < 0 || prot_part_der == NULL) goto end; prot_part_der_len = (size_t) len; |