diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2015-01-26 12:12:26 +0100 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2015-02-10 09:27:20 +0300 |
commit | a50c7c869a4fa1c78b4c38d3419566dd25d32e90 (patch) | |
tree | cf488aeac4aa1966931abcc97a9a30ac8926826c /util | |
parent | b658c53d2b87c1e9e0ade887a70ecb0de1474a7b (diff) |
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 <pbonzini@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'util')
-rw-r--r-- | util/aes.c | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } /** |