diff options
author | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-05-24 18:28:06 +0200 |
---|---|---|
committer | Dr. David von Oheimb <David.von.Oheimb@siemens.com> | 2020-05-26 09:35:05 +0200 |
commit | 7674e92324648b59786d86d8e9014bbaed4e6d07 (patch) | |
tree | ae60c1aa1dd846201ff81d724c750c55fb89c293 /include/crypto | |
parent | 5606922c3d2e8c3d3ffda4347cb9fe3992d75f89 (diff) |
Constify X509_PUBKEY_get(), X509_PUBKEY_get0(), and X509_PUBKEY_get0_param()
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/11894)
Diffstat (limited to 'include/crypto')
-rw-r--r-- | include/crypto/asn1.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/crypto/asn1.h b/include/crypto/asn1.h index aaf091f8a5..d3683649bc 100644 --- a/include/crypto/asn1.h +++ b/include/crypto/asn1.h @@ -19,7 +19,7 @@ struct evp_pkey_asn1_method_st { unsigned long pkey_flags; char *pem_str; char *info; - int (*pub_decode) (EVP_PKEY *pk, X509_PUBKEY *pub); + int (*pub_decode) (EVP_PKEY *pk, const X509_PUBKEY *pub); int (*pub_encode) (X509_PUBKEY *pub, const EVP_PKEY *pk); int (*pub_cmp) (const EVP_PKEY *a, const EVP_PKEY *b); int (*pub_print) (BIO *out, const EVP_PKEY *pkey, int indent, |