log if a crypto algorithm does not support a given key size
This commit is contained in:
@@ -188,7 +188,9 @@ METHOD(crypto_tester_t, test_crypter, bool,
|
|||||||
}
|
}
|
||||||
crypter = create(alg, vector->key_size);
|
crypter = create(alg, vector->key_size);
|
||||||
if (!crypter)
|
if (!crypter)
|
||||||
{ /* key size not supported... */
|
{ DBG1(DBG_LIB, "%N[%s]: %u bit key size not supported",
|
||||||
|
encryption_algorithm_names, alg, plugin_name,
|
||||||
|
BITS_PER_BYTE * vector->key_size);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user