Searched refs:pub_tmp (Results 1 – 1 of 1) sorted by relevance
| /freebsd/crypto/openssh/ |
| H A D | ssh-keygen.c | 1025 char comment[1024], *prv_tmp, *pub_tmp, *prv_file, *pub_file; in do_gen_all_hostkeys() local 1030 prv_tmp = pub_tmp = prv_file = pub_file = NULL; in do_gen_all_hostkeys() 1051 xasprintf(&pub_tmp, "%s%s.pub.XXXXXXXXXX", in do_gen_all_hostkeys() 1085 if ((fd = mkstemp(pub_tmp)) == -1) { in do_gen_all_hostkeys() 1087 pub_tmp, strerror(errno)); in do_gen_all_hostkeys() 1092 if ((r = sshkey_save_public(public, pub_tmp, comment)) != 0) { in do_gen_all_hostkeys() 1099 if (rename(pub_tmp, pub_file) != 0) { in do_gen_all_hostkeys() 1115 free(pub_tmp); in do_gen_all_hostkeys()
|