From: olszomal Date: Fri, 17 Jun 2022 13:01:11 +0000 (+0200) Subject: SSL_get_current_cipher() and SSL_get_pending_cipher() return 'const SSL_CIPHER *' X-Git-Tag: openssl-3.2.0-alpha1~2460 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d842b6eff0940b6ce337536cb718a8d561290f50;p=thirdparty%2Fopenssl.git SSL_get_current_cipher() and SSL_get_pending_cipher() return 'const SSL_CIPHER *' Fix the documentation. CLA: trivial Reviewed-by: Matt Caswell Reviewed-by: Todd Short Reviewed-by: Paul Dale Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/18599) --- diff --git a/doc/man3/SSL_get_current_cipher.pod b/doc/man3/SSL_get_current_cipher.pod index 206fa7ab9d6..2527819e1b5 100644 --- a/doc/man3/SSL_get_current_cipher.pod +++ b/doc/man3/SSL_get_current_cipher.pod @@ -10,8 +10,8 @@ SSL_get_pending_cipher - get SSL_CIPHER of a connection #include - 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);