common: log what value is set to tls_ciphers

Related to #1033.
master
Koichiro IWAO 7 years ago
parent 3da4d72323
commit 793a418cfb
No known key found for this signature in database
GPG Key ID: 9F72CDBC01BF10EB

@ -595,6 +595,7 @@ ssl_tls_accept(struct ssl_tls *self, long ssl_protocols,
if (g_strlen(tls_ciphers) > 1) if (g_strlen(tls_ciphers) > 1)
{ {
log_message(LOG_LEVEL_TRACE, "ssl_tls_accept: tls_ciphers=%s", tls_ciphers);
if (SSL_CTX_set_cipher_list(self->ctx, tls_ciphers) == 0) if (SSL_CTX_set_cipher_list(self->ctx, tls_ciphers) == 0)
{ {
g_writeln("ssl_tls_accept: invalid cipher options"); g_writeln("ssl_tls_accept: invalid cipher options");

Loading…
Cancel
Save