version 1.111, 2016/11/06 13:16:50 |
version 1.112, 2016/11/30 07:55:24 |
|
|
tls_config = tls_config_new(); |
tls_config = tls_config_new(); |
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); |
if (tls_config_set_protocols(tls_config, |
|
TLS_PROTOCOLS_ALL) != 0) |
|
errx(1, "tls set protocols failed: %s", |
|
tls_config_error(tls_config)); |
if (tls_config_set_ciphers(tls_config, "legacy") != 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)); |