diff options
Diffstat (limited to 'p11-kit')
-rw-r--r-- | p11-kit/modules.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/p11-kit/modules.c b/p11-kit/modules.c index b373544..2988f31 100644 --- a/p11-kit/modules.c +++ b/p11-kit/modules.c @@ -1985,6 +1985,8 @@ p11_kit_modules_initialize (CK_FUNCTION_LIST **modules, failure_callback (modules[i]); out--; free (name); + } else { + modules[out] = modules[i]; } } |