make update
[oweals/openssl.git] / apps / rand.c
index 2243015a75e2a7ff97df0abb4d9e93df30967d3e..790e79592c1ea92e91def9d89358d2b2515e826d 100644 (file)
@@ -77,9 +77,6 @@ int MAIN(int, char **);
 
 int MAIN(int argc, char **argv)
        {
-#ifndef OPENSSL_NO_ENGINE
-       ENGINE *e = NULL;
-#endif
        int i, r, ret = 1;
        int badopt;
        char *outfile = NULL;
@@ -178,7 +175,7 @@ int MAIN(int argc, char **argv)
                }
 
 #ifndef OPENSSL_NO_ENGINE
-        e = setup_engine(bio_err, engine, 0);
+        setup_engine(bio_err, engine, 0);
 #endif
 
        app_RAND_load_file(NULL, bio_err, (inrand != NULL));
@@ -229,7 +226,6 @@ int MAIN(int argc, char **argv)
                        {
                        for (i = 0; i < chunk; i++)
                                BIO_printf(out, "%02x", buf[i]);
-                       BIO_puts(out, "\n");
                        }
                num -= chunk;
                }