version 1.170, 2016/11/06 13:33:30 |
version 1.171, 2016/11/30 07:56:23 |
|
|
if (oflag && tls_config_set_ocsp_staple_file(tls_cfg, oflag) == -1) |
if (oflag && tls_config_set_ocsp_staple_file(tls_cfg, oflag) == -1) |
errx(1, "%s", tls_config_error(tls_cfg)); |
errx(1, "%s", tls_config_error(tls_cfg)); |
if (TLSopt & TLS_ALL) { |
if (TLSopt & TLS_ALL) { |
tls_config_set_protocols(tls_cfg, TLS_PROTOCOLS_ALL); |
if (tls_config_set_protocols(tls_cfg, |
tls_config_set_ciphers(tls_cfg, "all"); |
TLS_PROTOCOLS_ALL) != 0) |
|
errx(1, "%s", tls_config_error(tls_cfg)); |
|
if (tls_config_set_ciphers(tls_cfg, "all") != 0) |
|
errx(1, "%s", tls_config_error(tls_cfg)); |
} |
} |
if (!lflag && (TLSopt & TLS_CCERT)) |
if (!lflag && (TLSopt & TLS_CCERT)) |
errx(1, "clientcert is only valid with -l"); |
errx(1, "clientcert is only valid with -l"); |