Home
last modified time | relevance | path

Searched refs:add_host (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/crypto/external/bsd/openssl/dist/crypto/http/
H A Dhttp_client.c354 int add_host = host != NULL && *host != '\0'; in add1_headers() local
359 if (add_host && OPENSSL_strcasecmp("host", hdr->name) == 0) in add1_headers()
360 add_host = 0; in add1_headers()
365 if (add_host && !OSSL_HTTP_REQ_CTX_add1_header(rctx, "Host", host)) in add1_headers()
/netbsd-src/crypto/external/bsd/openssl.old/dist/apps/
H A Docsp.c1501 int add_host = 1; in query_responder() local
1540 if (add_host == 1 && strcasecmp("host", hdr->name) == 0) in query_responder()
1541 add_host = 0; in query_responder()
1546 if (add_host == 1 && OCSP_REQ_CTX_add1_header(ctx, "Host", host) == 0) in query_responder()