diff options
-rw-r--r-- | ubifs-utils/mkfs.ubifs/crypto.c | 1 | ||||
-rw-r--r-- | ubifs-utils/mkfs.ubifs/mkfs.ubifs.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/ubifs-utils/mkfs.ubifs/crypto.c b/ubifs-utils/mkfs.ubifs/crypto.c index 50a09b5..9c6073e 100644 --- a/ubifs-utils/mkfs.ubifs/crypto.c +++ b/ubifs-utils/mkfs.ubifs/crypto.c @@ -330,6 +330,7 @@ static struct cipher ciphers[] = { int crypto_init(void) { ERR_load_crypto_strings(); + RAND_poll(); return 0; } diff --git a/ubifs-utils/mkfs.ubifs/mkfs.ubifs.c b/ubifs-utils/mkfs.ubifs/mkfs.ubifs.c index f8d8e52..e4204da 100644 --- a/ubifs-utils/mkfs.ubifs/mkfs.ubifs.c +++ b/ubifs-utils/mkfs.ubifs/mkfs.ubifs.c @@ -2841,8 +2841,6 @@ int main(int argc, char *argv[]) if (crypto_init()) return -1; - RAND_poll(); - err = get_options(argc, argv); if (err) return err; |