version 1.110, 2016/08/13 12:55:21 |
version 1.111, 2016/11/06 13:16:50 |
|
|
if (tls_config == NULL) |
if (tls_config == NULL) |
errx(1, "tls config failed"); |
errx(1, "tls config failed"); |
tls_config_set_protocols(tls_config, TLS_PROTOCOLS_ALL); |
tls_config_set_protocols(tls_config, TLS_PROTOCOLS_ALL); |
if (tls_config_set_ciphers(tls_config, "all") != 0) |
if (tls_config_set_ciphers(tls_config, "legacy") != 0) |
errx(1, "tls set ciphers failed: %s", |
errx(1, "tls set ciphers failed: %s", |
tls_config_error(tls_config)); |
tls_config_error(tls_config)); |
} |
} |