From: Nikos Mavrogiannopoulos Date: Sat, 30 Nov 2013 18:17:52 +0000 (+0100) Subject: updated test for the universal lib constructor X-Git-Tag: gnutls_3_3_0pre0~513 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe0cc1a281a446abcd3cdd83414d99be35ad5fb1;p=thirdparty%2Fgnutls.git updated test for the universal lib constructor --- diff --git a/tests/global-init.c b/tests/global-init.c index 92a6190621..e985428112 100644 --- a/tests/global-init.c +++ b/tests/global-init.c @@ -40,7 +40,6 @@ void doit(void) { int ret; -#ifdef ENABLE_FIPS140 /* In FIPS140 a constructor is being used for MINIMAL so * the following should succeed. */ @@ -48,12 +47,6 @@ void doit(void) if (ret < 0) { fail("Could not initialize: %d\n", __LINE__); } -#else - ret = gnutls_global_init2(GNUTLS_GLOBAL_INIT_PKCS11); - if (ret != GNUTLS_E_INVALID_REQUEST) { - fail("Initialization should have failed: %d\n", __LINE__); - } -#endif ret = gnutls_global_init(); if (ret < 0) {