Commit 25467243 authored by's avatar Committed by Milan Broz

Add missing call to crypt_random_exit

We call crypt_random_init in init_crypto, but never call
crypt_random_exit. This change just copies what the crypt_backend
functions do, and calls crypt_random_exit in the descructor.
parent e07d40fc
......@@ -4538,4 +4538,5 @@ int crypt_activate_by_keyring(struct crypt_device *cd,
static void __attribute__((destructor)) libcryptsetup_exit(void)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment