summaryrefslogtreecommitdiff
path: root/lib/fips.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fips.c')
-rw-r--r--lib/fips.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/fips.c b/lib/fips.c
index 6fb29835f4..1833a5db26 100644
--- a/lib/fips.c
+++ b/lib/fips.c
@@ -325,21 +325,6 @@ error:
return GNUTLS_E_SELF_TEST_ERROR;
}
-
-__attribute__((constructor))
-static void lib_init(void)
-{
- if (gnutls_global_init2(GNUTLS_GLOBAL_INIT_MINIMAL|GNUTLS_GLOBAL_INIT_CRYPTO) < 0) {
- fprintf(stderr, "Error in GnuTLS initialization");
- abort();
- }
-}
-
-__attribute__((destructor))
-static void lib_deinit(void)
-{
- gnutls_global_deinit();
-}
#endif
/**