diff options
author | Rob Austein <sra@hactrn.net> | 2016-09-12 02:06:18 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-09-12 02:06:18 -0400 |
commit | 73d62a85a904b64e259d523dadb45ad4ee8e2c2f (patch) | |
tree | 69c99517d643e0aabc066633db953e8ed099be4f /ks_volatile.c | |
parent | 421626cdc49cab03f9b4071ee9e836f8d095aa20 (diff) |
Doh, allow keystore reinitialization after unclean reboot.
Diffstat (limited to 'ks_volatile.c')
-rw-r--r-- | ks_volatile.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ks_volatile.c b/ks_volatile.c index 290c356..3c9cba5 100644 --- a/ks_volatile.c +++ b/ks_volatile.c @@ -126,8 +126,6 @@ static hal_error_t ks_init(db_t *db) static hal_error_t ks_volatile_init(const hal_ks_driver_t * const driver) { - if (volatile_ks.ks.driver != NULL) - return HAL_ERROR_KEYSTORE_ACCESS; volatile_ks.ks.driver = driver; volatile_ks.db = &volatile_db; return ks_init(volatile_ks.db); |