summaryrefslogtreecommitdiff
path: root/src/util/crypto.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/crypto.c')
-rw-r--r--src/util/crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/crypto.c b/src/util/crypto.c
index 8cd08af63..abc9fc5f8 100644
--- a/src/util/crypto.c
+++ b/src/util/crypto.c
@@ -49,7 +49,7 @@ fatal_error_handler (void *cls,
/**
* Initialize libgcrypt.
*/
-void
+void __attribute__ ((constructor))
TALER_gcrypt_init ()
{
gcry_set_fatalerror_handler (&fatal_error_handler,