diff options
author | Damien Miller <djm@mindrot.org> | 2003-06-18 20:29:18 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-06-18 20:29:18 +1000 |
commit | 80163e1b72d2abb8338a104d97798048d9bfd5a1 (patch) | |
tree | f955e7772c7ae13b7fee4b301b7c57e09ab3e480 | |
parent | 8c1d2e3926c483551c5a2b0e356d300ad2908d9e (diff) |
- markus@cvs.openbsd.org 2003/06/16 10:22:45
[ssh-add.c]
print out key comment on each prompt; make ssh-askpass more useable; ok djm@
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ssh-add.c | 5 |
2 files changed, 7 insertions, 3 deletions
@@ -17,6 +17,9 @@ make sure the signature has at least the expected length (don't insist on len == hlen + oidlen, since this breaks some smartcards) bugzilla #592; ok djm@ + - markus@cvs.openbsd.org 2003/06/16 10:22:45 + [ssh-add.c] + print out key comment on each prompt; make ssh-askpass more useable; ok djm@ 20030614 - (djm) Update license on fake-rfc2553.[ch]; ok itojun@ @@ -532,4 +535,4 @@ - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. Report from murple@murple.net, diagnosis from dtucker@zip.com.au -$Id: ChangeLog,v 1.2806 2003/06/18 10:29:01 djm Exp $ +$Id: ChangeLog,v 1.2807 2003/06/18 10:29:18 djm Exp $ @@ -35,7 +35,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh-add.c,v 1.67 2003/06/11 11:18:38 djm Exp $"); +RCSID("$OpenBSD: ssh-add.c,v 1.68 2003/06/16 10:22:45 markus Exp $"); #include <openssl/evp.h> @@ -164,7 +164,8 @@ add_file(AuthenticationConnection *ac, const char *filename) if (private != NULL) break; clear_pass(); - strlcpy(msg, "Bad passphrase, try again: ", sizeof msg); + snprintf(msg, sizeof msg, + "Bad passphrase, try again for %.200s: ", comment); } } |