]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commitdiff
aes: remove a dead return statement
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 26 Jan 2015 11:12:26 +0000 (12:12 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Tue, 10 Feb 2015 06:27:20 +0000 (09:27 +0300)
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>
util/aes.c

index 6058f1950b32e85044876a6d5cdab56bffbe910e..3d7c4be9b62ce2199510412a753cfed3b73935e8 100644 (file)
@@ -1161,7 +1161,7 @@ int AES_set_encrypt_key(const unsigned char *userKey, const int bits,
                        rk += 8;
                }
        }
-       return 0;
+        abort();
 }
 
 /**