*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: SSL_get_shared_ciphers | Section: 3 | Source: OpenBSD | File: SSL_get_shared_ciphers.3
SSL_GET_SHARED_CIPHERS(3) FreeBSD Library Functions Manual NAME SSL_get_shared_ciphers - ciphers supported by both client and server SYNOPSIS #include <openssl/ssl.h> char * SSL_get_shared_ciphers(const SSL *ssl, char *buf, int len); DESCRIPTION If ssl contains a session in server mode, SSL_get_shared_ciphers() puts as many names of ciphers that are supported by both the client and the server into the buffer buf as the buffer is long enough to contain. Names are separated by colons. At most len bytes are written to buf including the terminating NUL character. RETURN VALUES SSL_get_shared_ciphers() returns buf on success or NULL on failure. The following situations cause failure: o SSL_is_server(3) is false, i.e., ssl is not set to server mode. o SSL_get_ciphers(3) is NULL or empty, i.e., no ciphers are available for use by the server. o SSL_get_session(3) is NULL, i.e., ssl contains no session. o SSL_get_client_ciphers(3) is NULL or empty, i.e., ssl contains no information about ciphers supported by the client, or the client does not support any ciphers. o The len argument is less than 2. SEE ALSO ssl(3), SSL_get_ciphers(3) HISTORY SSL_get_shared_ciphers() first appeared in SSLeay 0.4.5b and has been available since OpenBSD 2.4. BUGS If the list is too long to fit into len bytes, it is silently truncated after the last cipher name that fits, and all following ciphers are skipped. If the buffer is very short such that even the first cipher name does not fit, an empty string is returned even when some shared ciphers are actually available. There is no easy way to find out how much space is required for buf or whether the supplied space was sufficient. FreeBSD 14.1-RELEASE-p8 January 9, 2021 FreeBSD 14.1-RELEASE-p8

Navigation Options