]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
crypto-selftests: removed unneeded cast
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 31 May 2016 14:16:38 +0000 (16:16 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 31 May 2016 14:16:52 +0000 (16:16 +0200)
lib/crypto-selftests.c

index 0ebee7b1bb291c4d14bc683261bcac057102fca4..cfb439edda616296aae3fb8aa8c6097406c106a5 100644 (file)
@@ -476,7 +476,7 @@ static int test_cipher_aead(gnutls_cipher_algorithm_t cipher,
                iv.size = vectors[i].iv_size;
                tag_size = vectors[i].tag_size;
 
-               if ((int)tag_size > gnutls_cipher_get_tag_size(cipher)) {
+               if (tag_size > gnutls_cipher_get_tag_size(cipher)) {
                        return gnutls_assert_val(GNUTLS_E_SELF_TEST_ERROR);
                }
 #if 0