Add SSL_get[01]_peer_certificate()
[openssl.git] / ssl / statem / statem_clnt.c
index 7189940a62c49d5b2e18534268cb1657d7b6e436..9bee9cb3af31f6a11de3eb771bd66995a3a9b120 100644 (file)
@@ -2551,7 +2551,7 @@ MSG_PROCESS_RETURN tls_process_certificate_request(SSL *s, PACKET *pkt)
      * after the CertificateVerify message has been received. This is because
      * in TLSv1.3 the CertificateRequest arrives before the Certificate message
      * but in TLSv1.2 it is the other way around. We want to make sure that
-     * SSL_get_peer_certificate() returns something sensible in
+     * SSL_get1_peer_certificate() returns something sensible in
      * client_cert_cb.
      */
     if (SSL_IS_TLS13(s) && s->post_handshake_auth != SSL_PHA_REQUESTED)