]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
disable AEAD crypto algorithm if no key size is supported
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 25 Dec 2010 15:14:55 +0000 (16:14 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 25 Dec 2010 15:14:55 +0000 (16:14 +0100)
src/libstrongswan/crypto/crypto_tester.c

index b4a29734a928319d90fedf71b6c136c09fdb61b6..276f4329a753f2ff87135432c0ea7eaa61bf08f3 100644 (file)
@@ -352,6 +352,7 @@ METHOD(crypto_tester_t, test_aead, bool,
                        DBG1(DBG_LIB, "%N[%s]: %u bit key size not supported",
                                 encryption_algorithm_names, alg, plugin_name,
                                 BITS_PER_BYTE * vector->key_size);
+                       failed = TRUE;
                        continue;
                }