]> git.feebdaed.xyz Git - 0xmirror/openssl.git/commit
Constify return value of X509_get_X509_PUBKEY()
authorBob Beck <beck@openssl.org>
Mon, 29 Sep 2025 21:16:33 +0000 (15:16 -0600)
committerNeil Horman <nhorman@openssl.org>
Tue, 23 Dec 2025 13:16:37 +0000 (08:16 -0500)
commitfc756e594ed5a27af378d3bfcfbe8c7142ce0dc1
treeeb0a38c2ff29c9878be9a68ce2d4bf2c3eccf4e3
parentf18816261e3bf106fa240706cbf797c4a2a5184a
Constify return value of X509_get_X509_PUBKEY()

You really should not be mutating this.

Part of #28654
Fixes: https://github.com/openssl/project/issues/1771
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/29428)
crypto/cms/cms_kemri.c
crypto/ct/ct_local.h
crypto/ct/ct_sct_ctx.c
crypto/x509/t_x509.c
crypto/x509/x509_set.c
doc/man3/X509_get_pubkey.pod
include/openssl/x509.h.in
ssl/statem/statem_lib.c
test/algorithmid_test.c
test/keymgmt_internal_test.c