Home
last modified time | relevance | path

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

/netbsd/crypto/external/bsd/openssh/dist/
H A Dssh-keygen.c1503 char new_comment[1024], *comment, *passphrase; in do_change_comment() local
1549 strlcpy(new_comment, identity_comment, sizeof(new_comment)); in do_change_comment()
1553 if (!fgets(new_comment, sizeof(new_comment), stdin)) { in do_change_comment()
1558 new_comment[strcspn(new_comment, "\n")] = '\0'; in do_change_comment()
1560 if (comment != NULL && strcmp(comment, new_comment) == 0) { in do_change_comment()
1570 new_comment, private_key_format, openssh_format_cipher, in do_change_comment()
1584 if ((r = sshkey_save_public(public, identity_file, new_comment)) != 0) in do_change_comment()
1589 if (strlen(new_comment) > 0) in do_change_comment()
1590 printf("Comment '%s' applied\n", new_comment); in do_change_comment()