[openssl/openssl] fc756e: Constify return value of X509_get_X509_PUBKEY()

0 views
Skip to first unread message

Bob Beck

unread,
Dec 23, 2025, 8:26:34 AM (2 days ago) Dec 23
to openssl...@openssl.org
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: fc756e594ed5a27af378d3bfcfbe8c7142ce0dc1
https://github.com/openssl/openssl/commit/fc756e594ed5a27af378d3bfcfbe8c7142ce0dc1
Author: Bob Beck <be...@openssl.org>
Date: 2025-12-23 (Tue, 23 Dec 2025)

Changed paths:
M crypto/cms/cms_kemri.c
M crypto/ct/ct_local.h
M crypto/ct/ct_sct_ctx.c
M crypto/x509/t_x509.c
M crypto/x509/x509_set.c
M doc/man3/X509_get_pubkey.pod
M include/openssl/x509.h.in
M ssl/statem/statem_lib.c
M test/algorithmid_test.c
M test/keymgmt_internal_test.c

Log Message:
-----------
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 <nho...@openssl.org>
Reviewed-by: Paul Dale <paul...@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/29428)



To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications
Reply all
Reply to author
Forward
0 new messages