summaryrefslogtreecommitdiff
path: root/ssh-add.c
diff options
context:
space:
mode:
authormouring <mouring>2001-06-25 05:20:31 +0000
committermouring <mouring>2001-06-25 05:20:31 +0000
commit6ec2e22a7939a66e4bcf6440fd15b4b921fb65e7 (patch)
tree56e28ec2e4939ffa05ad66611a3a9293cc2c0743 /ssh-add.c
parentd1baa2127a6e33fbcf175fa2f2b791ca2b13e982 (diff)
downloadopenssh-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh-add.c b/ssh-add.c
index f03ce029..84a8c20f 100644
--- a/ssh-add.c
+++ b/ssh-add.c
@@ -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);