Lines Matching refs:passphrase1
1294 char *old_passphrase, *passphrase1, *passphrase2; in do_change_passphrase() local
1327 passphrase1 = xstrdup(identity_new_passphrase); in do_change_passphrase()
1330 passphrase1 = in do_change_passphrase()
1337 if (strcmp(passphrase1, passphrase2) != 0) { in do_change_passphrase()
1338 explicit_bzero(passphrase1, strlen(passphrase1)); in do_change_passphrase()
1340 free(passphrase1); in do_change_passphrase()
1351 if ((r = sshkey_save_private(private, identity_file, passphrase1, in do_change_passphrase()
1355 explicit_bzero(passphrase1, strlen(passphrase1)); in do_change_passphrase()
1356 free(passphrase1); in do_change_passphrase()
1362 explicit_bzero(passphrase1, strlen(passphrase1)); in do_change_passphrase()
1363 free(passphrase1); in do_change_passphrase()
2261 char dotsshdir[PATH_MAX], comment[1024], *passphrase1, *passphrase2; in main() local
2686 passphrase1 = xstrdup(identity_passphrase); in main()
2688 passphrase1 = xstrdup(identity_new_passphrase); in main()
2691 passphrase1 = in main()
2696 if (strcmp(passphrase1, passphrase2) != 0) { in main()
2701 explicit_bzero(passphrase1, strlen(passphrase1)); in main()
2703 free(passphrase1); in main()
2721 if ((r = sshkey_save_private(private, identity_file, passphrase1, in main()
2725 explicit_bzero(passphrase1, strlen(passphrase1)); in main()
2726 free(passphrase1); in main()
2730 explicit_bzero(passphrase1, strlen(passphrase1)); in main()
2731 free(passphrase1); in main()