3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2025-06-07 22:07:23 +02:00

unit: Update precheck for WSC PBC test cases

This commit is contained in:
Marcel Holtmann 2025-05-08 19:07:13 +02:00
parent c9c8790ff2
commit c4718a5355

View File

@ -2581,7 +2581,8 @@ static bool getrandom_precheck(const void *data)
static bool aes_cbc_precheck(const void *data) static bool aes_cbc_precheck(const void *data)
{ {
return l_cipher_is_supported(L_CIPHER_AES_CBC); return (l_key_is_supported(L_KEY_FEATURE_DH) &&
l_cipher_is_supported(L_CIPHER_AES_CBC));
} }
static bool key_crypto_precheck(const void *data) static bool key_crypto_precheck(const void *data)