From c665c71719225ef6d076c6be24c588049527f31f Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Wed, 20 Sep 2017 09:44:17 +0200 Subject: irmd: Init libgcrypt before using it --- src/lib/dev.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib/dev.c') diff --git a/src/lib/dev.c b/src/lib/dev.c index b945968d..9cb6f2ed 100644 --- a/src/lib/dev.c +++ b/src/lib/dev.c @@ -676,8 +676,7 @@ int ouroboros_init(const char * ap_name) if (pthread_rwlock_init(&ai.lock, NULL)) goto fail_lock; - ai.tw = timerwheel_create(TW_RESOLUTION, - TW_RESOLUTION * TW_ELEMENTS); + ai.tw = timerwheel_create(TW_RESOLUTION, TW_RESOLUTION * TW_ELEMENTS); if (ai.tw == NULL) goto fail_timerwheel; -- cgit v1.2.3