version 1.7, 2019/05/14 02:30:00 |
version 1.8, 2019/05/14 05:58:36 |
|
|
if ((tls_config = tls_config_new()) == NULL) |
if ((tls_config = tls_config_new()) == NULL) |
errx(1, "tls_config_new failed"); |
errx(1, "tls_config_new failed"); |
|
|
|
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)); |