Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/ssh/ssh-keygen/
H A Dssh-keygen.c734 char *old_passphrase, *passphrase1, *passphrase2; in do_change_passphrase() local
766 passphrase1 = xstrdup(identity_new_passphrase); in do_change_passphrase()
769 passphrase1 = in do_change_passphrase()
776 if (strcmp(passphrase1, passphrase2) != 0) { in do_change_passphrase()
777 memset(passphrase1, 0, strlen(passphrase1)); in do_change_passphrase()
779 xfree(passphrase1); in do_change_passphrase()
791 if (!key_save_private(private, identity_file, passphrase1, comment)) { in do_change_passphrase()
793 memset(passphrase1, 0, strlen(passphrase1)); in do_change_passphrase()
794 xfree(passphrase1); in do_change_passphrase()
800 memset(passphrase1, 0, strlen(passphrase1)); in do_change_passphrase()
[all …]