From: Paolo Bonzini <pbonz...@redhat.com> bits is checked to be 128, 192 or 256 at the beginning of the function.
Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Signed-off-by: Michael Tokarev <m...@tls.msk.ru> --- util/aes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/aes.c b/util/aes.c index 6058f19..3d7c4be 100644 --- a/util/aes.c +++ b/util/aes.c @@ -1161,7 +1161,7 @@ int AES_set_encrypt_key(const unsigned char *userKey, const int bits, rk += 8; } } - return 0; + abort(); } /** -- 2.1.4