SSL_set_cipher_list

Sets the list of available ciphers

Sets the list of available ciphers (TLS v1.2 and below). For TLSv1.3, this function has no effect; call SSL_set_ciphersuites instead.

extern (C)
int
SSL_set_cipher_list
(,
const(char*) str
)

Parameters

ssl SSL*

the SSL object to set the cipher list for

str const(char*)

a colon-delimited sequence of cipher names

Return Value

Type: int

1 if any cipher could be selected, 0 on complete failure

Meta