Load rand state after loading providers
[openssl.git] / apps / enc.c
index 0a8591de83b44f8941b6e0460f46033ebe8c30be..4549895b9ebf8c37826bb7a0418bba4fe331af3b 100644 (file)
@@ -293,6 +293,7 @@ int enc_main(int argc, char **argv)
     argc = opt_num_rest();
     if (argc != 0)
         goto opthelp;
+    app_RAND_load();
 
     /* Get the cipher name, either from progname (if set) or flag. */
     if (ciphername != NULL) {