version 1.98, 2015/02/12 04:23:17 |
version 1.99, 2015/02/13 08:41:34 |
|
|
|
|
#ifndef SMALL |
#ifndef SMALL |
cookiefile = getenv("http_cookies"); |
cookiefile = getenv("http_cookies"); |
|
if (tls_config == NULL) { |
|
tls_config = tls_config_new(); |
|
if (tls_config == NULL) |
|
errx(1, "tls config failed"); |
|
tls_config_set_protocols(tls_config, |
|
TLS_PROTOCOLS_ALL); |
|
} |
|
|
#endif /* !SMALL */ |
#endif /* !SMALL */ |
httpuseragent = NULL; |
httpuseragent = NULL; |
|
|
|
|
|
|
case 'S': |
case 'S': |
#ifndef SMALL |
#ifndef SMALL |
if (tls_config == NULL) { |
|
tls_config = tls_config_new(); |
|
if (tls_config == NULL) |
|
errx(1, "tls config failed"); |
|
tls_config_set_protocols(tls_config, |
|
TLS_PROTOCOLS_ALL); |
|
} |
|
|
|
cp = optarg; |
cp = optarg; |
while (*cp) { |
while (*cp) { |
char *str; |
char *str; |