diff options
author | mouring <mouring> | 2001-06-25 05:20:31 +0000 |
---|---|---|
committer | mouring <mouring> | 2001-06-25 05:20:31 +0000 |
commit | 6ec2e22a7939a66e4bcf6440fd15b4b921fb65e7 (patch) | |
tree | 56e28ec2e4939ffa05ad66611a3a9293cc2c0743 /ssh-add.c | |
parent | d1baa2127a6e33fbcf175fa2f2b791ca2b13e982 (diff) | |
download | openssh-6ec2e22a7939a66e4bcf6440fd15b4b921fb65e7.tar.gz |
- markus@cvs.openbsd.org 2001/06/24 05:35:33
[readpass.c readpass.h ssh-add.c sshconnect2.c ssh-keygen.c]
switch to readpassphrase(3)
2.7/8-stable needs readpassphrase.[ch] from libc
Diffstat (limited to 'ssh-add.c')
-rw-r--r-- | ssh-add.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -35,7 +35,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh-add.c,v 1.39 2001/06/23 15:12:20 itojun Exp $"); +RCSID("$OpenBSD: ssh-add.c,v 1.40 2001/06/24 05:35:33 markus Exp $"); #include <openssl/evp.h> @@ -128,7 +128,7 @@ add_file(AuthenticationConnection *ac, const char *filename) snprintf(msg, sizeof msg, "Enter passphrase for %.200s: ", comment); for (;;) { - pass = read_passphrase(msg, 1); + pass = read_passphrase(msg, RP_ALLOW_STDIN); if (strcmp(pass, "") == 0) { clear_pass(); xfree(comment); |