summaryrefslogtreecommitdiffstats
path: root/crypto/cmp/cmp_hdr.c
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2020-03-23 08:30:37 +0100
committerDr. David von Oheimb <David.von.Oheimb@siemens.com>2020-03-23 08:30:37 +0100
commit8cc86b81ac20ff3e933ea7fd107a5a6066032330 (patch)
tree5ce8dc7269dd084b99a2ee8ca4b347c68bb51ed8 /crypto/cmp/cmp_hdr.c
parent7e06a6758bef584deabc9cb4b0d21b3e664b25c9 (diff)
Constify various mostly X509-related parameter types in crypto/ and apps/
in particular X509_NAME*, X509_STORE{,_CTX}*, and ASN1_INTEGER *, also some result types of new functions, which does not break compatibility Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com> (Merged from https://github.com/openssl/openssl/pull/10504)
Diffstat (limited to 'crypto/cmp/cmp_hdr.c')
-rw-r--r--crypto/cmp/cmp_hdr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/cmp/cmp_hdr.c b/crypto/cmp/cmp_hdr.c
index 9d6d6ceb2c..4c213aa891 100644
--- a/crypto/cmp/cmp_hdr.c
+++ b/crypto/cmp/cmp_hdr.c
@@ -266,8 +266,8 @@ int ossl_cmp_hdr_has_implicitConfirm(const OSSL_CMP_PKIHEADER *hdr)
/* fill in all fields of the hdr according to the info given in ctx */
int ossl_cmp_hdr_init(OSSL_CMP_CTX *ctx, OSSL_CMP_PKIHEADER *hdr)
{
- X509_NAME *sender;
- X509_NAME *rcp = NULL;
+ const X509_NAME *sender;
+ const X509_NAME *rcp = NULL;
if (!ossl_assert(ctx != NULL && hdr != NULL))
return 0;