Skip to content

Commit d842b6e

Browse files
olszomalt8m
authored andcommitted
SSL_get_current_cipher() and SSL_get_pending_cipher() return 'const SSL_CIPHER *'
Fix the documentation. CLA: trivial Reviewed-by: Matt Caswell <[email protected]> Reviewed-by: Todd Short <[email protected]> Reviewed-by: Paul Dale <[email protected]> Reviewed-by: Tomas Mraz <[email protected]> (Merged from openssl#18599)
1 parent dca637f commit d842b6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/man3/SSL_get_current_cipher.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ SSL_get_pending_cipher - get SSL_CIPHER of a connection
1010

1111
#include <openssl/ssl.h>
1212

13-
SSL_CIPHER *SSL_get_current_cipher(const SSL *ssl);
14-
SSL_CIPHER *SSL_get_pending_cipher(const SSL *ssl);
13+
const SSL_CIPHER *SSL_get_current_cipher(const SSL *ssl);
14+
const SSL_CIPHER *SSL_get_pending_cipher(const SSL *ssl);
1515

1616
const char *SSL_get_cipher_name(const SSL *s);
1717
const char *SSL_get_cipher(const SSL *s);

0 commit comments

Comments
 (0)