summaryrefslogtreecommitdiffstats
path: root/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'init.c')
-rw-r--r--init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.c b/init.c
index 503e75c..ac40dc5 100644
--- a/init.c
+++ b/init.c
@@ -114,7 +114,7 @@ context_init_1 (struct context *c)
#endif
#if defined(ENABLE_PKCS11)
- {
+ if (c->first_time) {
int i;
pkcs11_initialize (c->options.pkcs11_pin_cache_period);
for (i=0;i<MAX_PARMS && c->options.pkcs11_providers[i] != NULL;i++)