summaryrefslogtreecommitdiff
path: root/sshconnect2.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshconnect2.c')
-rw-r--r--sshconnect2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sshconnect2.c b/sshconnect2.c
index 855833c06..eee09a19c 100644
--- a/sshconnect2.c
+++ b/sshconnect2.c
@@ -23,7 +23,7 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: sshconnect2.c,v 1.20 2000/09/21 11:25:07 markus Exp $"); 26RCSID("$OpenBSD: sshconnect2.c,v 1.21 2000/09/27 21:41:34 markus Exp $");
27 27
28#include <openssl/bn.h> 28#include <openssl/bn.h>
29#include <openssl/rsa.h> 29#include <openssl/rsa.h>
@@ -534,8 +534,8 @@ userauth_pubkey_identity(Authctxt *authctxt, char *filename)
534 char *passphrase; 534 char *passphrase;
535 char prompt[300]; 535 char prompt[300];
536 snprintf(prompt, sizeof prompt, 536 snprintf(prompt, sizeof prompt,
537 "Enter passphrase for DSA key '%.100s': ", 537 "Enter passphrase for %s key '%.100s': ",
538 filename); 538 key_type(k), filename);
539 for (i = 0; i < options.number_of_password_prompts; i++) { 539 for (i = 0; i < options.number_of_password_prompts; i++) {
540 passphrase = read_passphrase(prompt, 0); 540 passphrase = read_passphrase(prompt, 0);
541 if (strcmp(passphrase, "") != 0) { 541 if (strcmp(passphrase, "") != 0) {