[openssl-dev] There is no SSL_CTX_get_ciphers() (and .._get_cipher_list())

Steffen Nurpmeso sdaoden at yandex.com
Tue Dec 16 14:45:02 UTC 2014


I wonder about this interface oddity.
There is

  int SSL_CTX_set_cipher_list(SSL_CTX *ctx, const char *str);
  int SSL_set_cipher_list(SSL *ssl, const char *str);

but only

  STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *ssl);
  const char *SSL_get_cipher_list(const SSL *ssl, int priority);

Since practically all other functions exist in two version (for
SSL_CTX*, for SSL*) this looks odd.
Shall i post an enhancement request?

--steffen


More information about the openssl-dev mailing list