summaryrefslogtreecommitdiffstats
path: root/crypto/crmf/crmf_local.h
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/crmf/crmf_local.h
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/crmf/crmf_local.h')
-rw-r--r--crypto/crmf/crmf_local.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/crmf/crmf_local.h b/crypto/crmf/crmf_local.h
index 3f3f75cf2f..3b9cbba8dd 100644
--- a/crypto/crmf/crmf_local.h
+++ b/crypto/crmf/crmf_local.h
@@ -315,9 +315,9 @@ struct ossl_crmf_certtemplate_st {
/* This field is assigned by the CA during certificate creation */
X509_ALGOR *signingAlg; /* signingAlg MUST be omitted */
/* This field is assigned by the CA during certificate creation */
- X509_NAME *issuer;
+ const X509_NAME *issuer;
OSSL_CRMF_OPTIONALVALIDITY *validity;
- X509_NAME *subject;
+ const X509_NAME *subject;
X509_PUBKEY *publicKey;
ASN1_BIT_STRING *issuerUID; /* deprecated in version 2 */
/* According to rfc 3280: UniqueIdentifier ::= BIT STRING */