Searched refs:pub_tmp (Results 1 – 1 of 1) sorted by relevance
| /freebsd-13.1/crypto/openssh/ |
| H A D | ssh-keygen.c | 1063 char comment[1024], *prv_tmp, *pub_tmp, *prv_file, *pub_file; in do_gen_all_hostkeys() local 1068 prv_tmp = pub_tmp = prv_file = pub_file = NULL; in do_gen_all_hostkeys() 1089 xasprintf(&pub_tmp, "%s%s.pub.XXXXXXXXXX", in do_gen_all_hostkeys() 1123 if ((fd = mkstemp(pub_tmp)) == -1) { in do_gen_all_hostkeys() 1125 pub_tmp, strerror(errno)); in do_gen_all_hostkeys() 1130 if ((r = sshkey_save_public(public, pub_tmp, comment)) != 0) { in do_gen_all_hostkeys() 1137 if (rename(pub_tmp, pub_file) != 0) { in do_gen_all_hostkeys() 1153 free(pub_tmp); in do_gen_all_hostkeys()
|