diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-06-25 05:20:31 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-06-25 05:20:31 +0000 |
commit | 949974bbdb057202a429036a18fe36de5a7b6eac (patch) | |
tree | d5777e395808237422b323998888d1595d62c28b /ssh-add.c | |
parent | f0c50293dddf8b36e9511fdf1c2f3f443800e51c (diff) | |
download | openssh-git-949974bbdb057202a429036a18fe36de5a7b6eac.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); |