summaryrefslogtreecommitdiffstats
path: root/doc/man3
diff options
context:
space:
mode:
authorolszomal <Malgorzata.Olszowka@stunnel.org>2022-06-17 15:01:11 +0200
committerTomas Mraz <tomas@openssl.org>2022-06-28 17:58:16 +0200
commitd842b6eff0940b6ce337536cb718a8d561290f50 (patch)
treecde670d58e8d9b63e9570062fcfb9c3df653af55 /doc/man3
parentdca637f50cf71372c46a9cf6022ad4eb9970ab7f (diff)
SSL_get_current_cipher() and SSL_get_pending_cipher() return 'const SSL_CIPHER *'
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)
Diffstat (limited to 'doc/man3')
-rw-r--r--doc/man3/SSL_get_current_cipher.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/man3/SSL_get_current_cipher.pod b/doc/man3/SSL_get_current_cipher.pod
index 206fa7ab9d..2527819e1b 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 <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);