]> andersk Git - openssh.git/blobdiff - ssh-add.c
- (bal) Missed two files in major resync. auth-bsdauth.c and auth-skey.c
[openssh.git] / ssh-add.c
index 5f1182ec26d711def5ea0248e32fe90c7236af44..9240b0d1ea5b62896c3fecb147321485dfb34fbc 100644 (file)
--- a/ssh-add.c
+++ b/ssh-add.c
@@ -35,7 +35,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: ssh-add.c,v 1.37 2001/05/02 16:41:20 markus Exp $");
+RCSID("$OpenBSD: ssh-add.c,v 1.38 2001/06/06 23:19:35 markus Exp $");
 
 #include <openssl/evp.h>
 
@@ -125,7 +125,6 @@ add_file(AuthenticationConnection *ac, const char *filename)
        if (private == NULL) {
                /* clear passphrase since it did not work */
                clear_pass();
-               printf("Need passphrase for %.200s\n", filename);
                snprintf(msg, sizeof msg, "Enter passphrase for %.200s: ",
                   comment);
                for (;;) {
@@ -194,6 +193,7 @@ main(int argc, char **argv)
 
        __progname = get_progname(argv[0]);
        init_rng();
+       seed_rng();
 
        SSLeay_add_all_algorithms();
 
This page took 0.056323 seconds and 4 git commands to generate.