Load rand state after loading providers
[openssl.git] / apps / smime.c
index 2a9ee27a34082bc125e1102ec570a1e402e28be3..db9cf8f1f1664a6e40bc6254f0c97aeff5323fc9 100644 (file)
@@ -360,6 +360,7 @@ int smime_main(int argc, char **argv)
     argc = opt_num_rest();
     argv = opt_rest();
 
+    app_RAND_load();
     if (!(operation & SMIME_SIGNERS) && (skkeys != NULL || sksigners != NULL)) {
         BIO_puts(bio_err, "Multiple signers or keys not allowed\n");
         goto opthelp;