[ssh-add.c]
print out key comment on each prompt; make ssh-askpass more useable; ok djm@
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@
*/
#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>
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);
}
}