]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
fips140-2: do not check the libtasn1's integrity
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 22 Jul 2014 11:38:25 +0000 (13:38 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 22 Jul 2014 11:38:25 +0000 (13:38 +0200)
lib/fips.c

index f3d578582ad06033dced66f05d58fc14e111949f..908e5299f316e7d9ff0f3c20e221051949bacb0d 100644 (file)
@@ -81,7 +81,6 @@ static int fips_mode = -1;
 }
 
 #define GNUTLS_LIBRARY_NAME "libgnutls.so.28"
-#define TASN1_LIBRARY_NAME "libtasn1.so.6"
 #define NETTLE_LIBRARY_NAME "libnettle.so.4"
 #define HOGWEED_LIBRARY_NAME "libhogweed.so.2"
 
@@ -295,12 +294,6 @@ int _gnutls_fips_perform_self_checks(void)
                goto error;
        }
 
-       ret = check_binary_integrity(TASN1_LIBRARY_NAME, "asn1_check_version");
-       if (ret == 0) {
-               gnutls_assert();
-               goto error;
-       }
-
        ret = check_binary_integrity(NETTLE_LIBRARY_NAME, "nettle_aes_set_encrypt_key");
        if (ret == 0) {
                gnutls_assert();