crypto-tester: Don't fail if key size is not supported
authorTobias Brunner <tobias@strongswan.org>
Fri, 14 Mar 2014 08:56:23 +0000 (09:56 +0100)
committerTobias Brunner <tobias@strongswan.org>
Thu, 20 Mar 2014 14:49:05 +0000 (15:49 +0100)
commit510c9004793adea388a7e70ff1d36e7ae9266060
treee7e63e1e32201b0cc7430818461336a6a330bbf3
parent5dd638f45c374eb69b4d644e9de28cb3d34d1e42
crypto-tester: Don't fail if key size is not supported

The Blowfish and Twofish implementations provided by the gcrypt plugin
only support specific key lengths, which we don't know when testing
against vectors (either during unit tests or during algorithm
registration).  The on_create test with a specific key length will be
skipped anyway, so there is no point in treating this failure differently.
src/libstrongswan/crypto/crypto_tester.c