Searched refs:is_http (Results 1 – 2 of 2) sorted by relevance
/freebsd/usr.bin/fetch/ |
H A D | fetch.c | 425 fetch(char *URL, const char *path, int *is_http) in fetch() argument 476 *is_http = strncmp(url->scheme, "http", 4) == 0; in fetch() 585 if (i_flag && *is_http && fetchLastErrCode == FETCH_OK && in fetch() 915 int c, e, is_http, r; in main() local 1180 e = fetch(*argv, "-", &is_http); in main() 1183 e = fetch(*argv, q, &is_http); in main() 1186 e = fetch(*argv, o_filename, &is_http); in main() 1189 e = fetch(*argv, p, &is_http); in main() 1207 && (!is_http || ( in main()
|
/freebsd/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_crypto.c | 516 boolean_t is_http = strncmp(uri, "http:", strlen("http:")) == 0; in get_key_material_https() local 518 if (strlen(uri) < (is_http ? 7 : 8)) { in get_key_material_https() 565 is_http ? "http://" : "https://", LIBFETCH_SONAME); in get_key_material_https() 666 "No keylocation=%s back-end."), is_http ? "http://" : "https://"); in get_key_material_https()
|