When BN_add_word() reaches top, it shouldn't try to add the the corresponding
[openssl.git] / apps / rand.c
index 68622165eb890b551e5c5e13081ad3754f0f3477..f51f5bec3560d487c38d6e6fc45b2d51b56accda 100644 (file)
@@ -92,6 +92,9 @@ int MAIN(int argc, char **argv)
                if ((bio_err = BIO_new(BIO_s_file())) != NULL)
                        BIO_set_fp(bio_err, stderr, BIO_NOCLOSE|BIO_FP_TEXT);
 
+       if (!load_config(bio_err, NULL))
+               goto err;
+
        badopt = 0;
        i = 0;
        while (!badopt && argv[++i] != NULL)