From a50c7c869a4fa1c78b4c38d3419566dd25d32e90 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Mon, 26 Jan 2015 12:12:26 +0100 Subject: [PATCH] aes: remove a dead return statement bits is checked to be 128, 192 or 256 at the beginning of the function. Signed-off-by: Paolo Bonzini Signed-off-by: Michael Tokarev --- util/aes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/aes.c b/util/aes.c index 6058f1950b..3d7c4be9b6 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.11.4.GIT