Home
last modified time | relevance | path

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

/netbsd-src/external/bsd/pkg_install/dist/lib/
H A Dvulnerabilities-file.c223 verify_hash(const char *input, const char *hash_line) in verify_hash() argument
231 if (strncmp(hash_line, hash->name, hash->name_len)) in verify_hash()
233 if (isspace((unsigned char)hash_line[hash->name_len])) in verify_hash()
238 for (end_name = hash_line; *end_name != '\0'; ++end_name) { in verify_hash()
243 (int)(end_name - hash_line), hash_line); in verify_hash()
247 hash_line += hash->name_len; in verify_hash()
248 if (!isspace((unsigned char)*hash_line)) in verify_hash()
250 while (isspace((unsigned char)*hash_line) && *hash_line != '\n') in verify_hash()
251 ++hash_line; in verify_hash()
253 if (*hash_line == '\n') in verify_hash()
[all …]