Lines Matching refs:filename
176 hostfile_check_key(int bits, const Key *key, const char *host, const char *filename, int linenum) in hostfile_check_key() argument
183 filename, linenum, host, BN_num_bits(key->rsa->n), bits); in hostfile_check_key()
185 bits, BN_num_bits(key->rsa->n), filename, linenum); in hostfile_check_key()
201 check_host_in_hostfile_by_key_or_type(const char *filename, in check_host_in_hostfile_by_key_or_type() argument
211 debug3("check_host_in_hostfile: filename %s", filename); in check_host_in_hostfile_by_key_or_type()
214 f = fopen(filename, "r"); in check_host_in_hostfile_by_key_or_type()
247 linenum, filename); in check_host_in_hostfile_by_key_or_type()
276 if (!hostfile_check_key(kbits, found, host, filename, linenum)) in check_host_in_hostfile_by_key_or_type()
304 check_host_in_hostfile(const char *filename, const char *host, const Key *key, in check_host_in_hostfile() argument
309 return (check_host_in_hostfile_by_key_or_type(filename, host, key, 0, in check_host_in_hostfile()
314 lookup_key_in_hostfile_by_type(const char *filename, const char *host, in lookup_key_in_hostfile_by_type() argument
317 return (check_host_in_hostfile_by_key_or_type(filename, host, NULL, in lookup_key_in_hostfile_by_type()
327 add_host_to_hostfile(const char *filename, const char *host, const Key *key, in add_host_to_hostfile() argument
336 f = fopen(filename, "a"); in add_host_to_hostfile()
352 error("add_host_to_hostfile: saving key in %s failed", filename); in add_host_to_hostfile()