Searched refs:pub_tmp (Results 1 – 1 of 1) sorted by relevance
/openbsd/usr.bin/ssh/ |
H A D | ssh-keygen.c | 1086 char comment[1024], *prv_tmp, *pub_tmp, *prv_file, *pub_file; in do_gen_all_hostkeys() local 1091 prv_tmp = pub_tmp = prv_file = pub_file = NULL; in do_gen_all_hostkeys() 1112 xasprintf(&pub_tmp, "%s%s.pub.XXXXXXXXXX", in do_gen_all_hostkeys() 1146 if ((fd = mkstemp(pub_tmp)) == -1) { in do_gen_all_hostkeys() 1148 pub_tmp, strerror(errno)); in do_gen_all_hostkeys() 1153 if ((r = sshkey_save_public(public, pub_tmp, comment)) != 0) { in do_gen_all_hostkeys() 1160 if (rename(pub_tmp, pub_file) != 0) { in do_gen_all_hostkeys() 1176 free(pub_tmp); in do_gen_all_hostkeys()
|