SSL_get_current_cipher() and SSL_get_pending_cipher() return 'const SSL_CIPHER *'
authorolszomal <Malgorzata.Olszowka@stunnel.org>
Fri, 17 Jun 2022 13:01:11 +0000 (15:01 +0200)
committerTomas Mraz <tomas@openssl.org>
Tue, 28 Jun 2022 16:00:27 +0000 (18:00 +0200)
Fix the documentation.

CLA: trivial

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18599)

(cherry picked from commit d842b6eff0940b6ce337536cb718a8d561290f50)

doc/man3/SSL_get_current_cipher.pod

index 64ca819b0e1c4033bff36d7d714c8e00c2ffb460..98d2082ae3b8c701f8c7c399a2f91c9d7175aaa1 100644 (file)
@@ -10,8 +10,8 @@ SSL_get_pending_cipher - get SSL_CIPHER of a connection
 
  #include <openssl/ssl.h>
 
- SSL_CIPHER *SSL_get_current_cipher(const SSL *ssl);
- SSL_CIPHER *SSL_get_pending_cipher(const SSL *ssl);
const SSL_CIPHER *SSL_get_current_cipher(const SSL *ssl);
const SSL_CIPHER *SSL_get_pending_cipher(const SSL *ssl);
 
  const char *SSL_get_cipher_name(const SSL *s);
  const char *SSL_get_cipher(const SSL *s);