}
if (proxystr != NULL) {
+#ifndef OPENSSL_NO_HTTP
int res;
char *tmp_host = host, *tmp_port = port;
"%s: -proxy argument malformed or ambiguous\n", prog);
goto end;
}
+#else
+ BIO_printf(bio_err,
+ "%s: -proxy not supported in no-http build\n", prog);
+ goto end;
+#endif
}
+
if (bindstr != NULL) {
int res;
res = BIO_parse_hostserv(bindstr, &bindhost, &bindport,
sbuf_len = 0;
sbuf_off = 0;
+#ifndef OPENSSL_NO_HTTP
if (proxystr != NULL) {
/* Here we must use the connect string target host & port */
if (!OSSL_HTTP_proxy_connect(sbio, thost, tport, proxyuser, proxypass,
0 /* no timeout */, bio_err, prog))
goto shut;
}
+#endif
switch ((PROTOCOL_CHOICE) starttls_proto) {
case PROTO_OFF: