diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2023-04-14 13:09:01 +0200 |
---|---|---|
committer | Dr. David von Oheimb <dev@ddvo.net> | 2023-04-18 08:16:01 +0200 |
commit | 09f30b0c96e39e3a07f8e6854c5468332534c585 (patch) | |
tree | bb154440082d4f08aa452c141a82f5fcfe4ce1ce /crypto/crmf/crmf_lib.c | |
parent | 25b18e629d5cab40f88b33fd9ecf0d69e08c7707 (diff) |
OSSL_CRMF_CERTTEMPLATE_get0_publicKey(): fix return type and doc
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/20736)
Diffstat (limited to 'crypto/crmf/crmf_lib.c')
-rw-r--r-- | crypto/crmf/crmf_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/crmf/crmf_lib.c b/crypto/crmf/crmf_lib.c index e57192fc83..86152ee247 100644 --- a/crypto/crmf/crmf_lib.c +++ b/crypto/crmf/crmf_lib.c @@ -541,7 +541,7 @@ int OSSL_CRMF_MSGS_verify_popo(const OSSL_CRMF_MSGS *reqs, return 1; } -const X509_PUBKEY +X509_PUBKEY *OSSL_CRMF_CERTTEMPLATE_get0_publicKey(const OSSL_CRMF_CERTTEMPLATE *tmpl) { return tmpl != NULL ? tmpl->publicKey : NULL; |