]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
doc: Add deprecation note to SSL_get_peer_certificate description
authorkovan <xaum.io@gmail.com>
Tue, 27 Jan 2026 05:01:56 +0000 (06:01 +0100)
committerPauli <paul.dale@oracle.com>
Wed, 28 Jan 2026 22:10:00 +0000 (09:10 +1100)
Fixes #22972

CLA: trivial

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/29764)

doc/man3/SSL_get_peer_certificate.pod

index 1897a43ebe7a6f9e09027487adcc2a7e1c9ec0a2..9a24438c814ec9c15ad2c1765da0999f1482830a 100644 (file)
@@ -21,6 +21,9 @@ version value, see L<openssl_user_macros(7)>:
 
 =head1 DESCRIPTION
 
+SSL_get_peer_certificate() is deprecated. Use SSL_get0_peer_certificate() or
+SSL_get1_peer_certificate() instead.
+
 These functions return a pointer to the X509 certificate the
 peer presented. If the peer did not present a certificate, NULL is returned.