]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
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 15:58:16 +0000 (17:58 +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)

doc/man3/SSL_get_current_cipher.pod

index 206fa7ab9d679f72cee729dd9388c35213d5c051..2527819e1b5cb80f248795516206c80e9593743f 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);