diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-11-30 19:17:52 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2013-11-30 19:17:52 +0100 |
commit | fe0cc1a281a446abcd3cdd83414d99be35ad5fb1 (patch) | |
tree | 6860f50d01244174e5b4b8ac720b132347079007 /tests | |
parent | f34f0f750bc604ab7a531958f06a737976cd1aed (diff) | |
download | gnutls-fe0cc1a281a446abcd3cdd83414d99be35ad5fb1.tar.gz |
updated test for the universal lib constructor
Diffstat (limited to 'tests')
-rw-r--r-- | tests/global-init.c | 7 |
1 files changed, 0 insertions, 7 deletions
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) { |