diff options
author | 1999-10-11 20:24:54 +0000 | |
---|---|---|
committer | 1999-10-11 20:24:54 +0000 | |
commit | 1c18c7db70ce4cff3b92d68a3d01cbf8b0d506a2 (patch) | |
tree | 6f68c6ea859a368c7afc9c39818d05352e55d5ad /usr.bin/ssh/ssh-add.c | |
parent | Run /usr/libexec/vi.recover (now a perl script) to preserve vi backup files. (diff) | |
download | wireguard-openbsd-1c18c7db70ce4cff3b92d68a3d01cbf8b0d506a2.tar.xz wireguard-openbsd-1c18c7db70ce4cff3b92d68a3d01cbf8b0d506a2.zip |
we do not ship ssh-askpass
Diffstat (limited to 'usr.bin/ssh/ssh-add.c')
-rw-r--r-- | usr.bin/ssh/ssh-add.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/usr.bin/ssh/ssh-add.c b/usr.bin/ssh/ssh-add.c index 65bf4fbb2cc..125a6027ca3 100644 --- a/usr.bin/ssh/ssh-add.c +++ b/usr.bin/ssh/ssh-add.c @@ -14,7 +14,7 @@ Adds an identity to the authentication server, or removes an identity. */ #include "includes.h" -RCSID("$Id: ssh-add.c,v 1.4 1999/09/29 21:14:16 deraadt Exp $"); +RCSID("$Id: ssh-add.c,v 1.5 1999/10/11 20:24:54 markus Exp $"); #include "rsa.h" #include "ssh.h" @@ -110,21 +110,8 @@ add_file(const char *filename) /* Ask for a passphrase. */ if (getenv("DISPLAY") && !isatty(fileno(stdin))) { - snprintf(buf, sizeof buf, - "ssh-askpass '%sEnter passphrase for %.100s'", - first ? "" : "You entered wrong passphrase. ", - saved_comment); - f = popen(buf, "r"); - if (!fgets(buf, sizeof(buf), f)) - { - pclose(f); xfree(saved_comment); return; - } - pclose(f); - if (strchr(buf, '\n')) - *strchr(buf, '\n') = 0; - pass = xstrdup(buf); } else { |