mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-07 08:50:05 +01:00
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.
This commit is contained in:
committed by
Milan Broz
parent
e07d40fc26
commit
25467243a6
@@ -4538,4 +4538,5 @@ int crypt_activate_by_keyring(struct crypt_device *cd,
|
||||
static void __attribute__((destructor)) libcryptsetup_exit(void)
|
||||
{
|
||||
crypt_backend_destroy();
|
||||
crypt_random_exit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user