diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-11-30 19:08:38 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-11-30 19:11:45 +0100 |
commit | d5d302e278c3a813994f3fe3026f3990fd6a23d9 (patch) | |
tree | 283bcfa8a0e50e9622cf70b47e577b0e51db3537 /lib/fips.c | |
parent | 9eef3d6263171009523d11938e340ef90d32fd39 (diff) | |
download | gnutls-d5d302e278c3a813994f3fe3026f3990fd6a23d9.tar.gz |
constructor and destructors were moved outside the FIPS140 mode.
Diffstat (limited to 'lib/fips.c')
-rw-r--r-- | lib/fips.c | 15 |
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 /** |