mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2026-01-11 01:45:31 +01:00
Unload all external tokens on exit.
This commit is contained in:
committed by
Milan Broz
parent
c9ff83bfa3
commit
c867f2e8a0
@@ -6047,6 +6047,8 @@ crypt_reencrypt_info crypt_reencrypt_status(struct crypt_device *cd,
|
||||
|
||||
static void __attribute__((destructor)) libcryptsetup_exit(void)
|
||||
{
|
||||
crypt_token_unload_external_all(NULL);
|
||||
|
||||
crypt_backend_destroy();
|
||||
crypt_random_exit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user