From 22548184de4fe7218da9dbb22f9dd176affdf96b Mon Sep 17 00:00:00 2001 From: markus Date: Sun, 24 Jun 2001 05:35:33 +0000 Subject: switch to readpassphrase(3) 2.7/8-stable needs readpassphrase.[ch] from libc --- usr.bin/ssh/ssh-add.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/ssh/ssh-add.c') diff --git a/usr.bin/ssh/ssh-add.c b/usr.bin/ssh/ssh-add.c index 4c2db31703d..a69c72764d2 100644 --- a/usr.bin/ssh/ssh-add.c +++ b/usr.bin/ssh/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 @@ -122,7 +122,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); -- cgit v1.2.3-59-g8ed1b