]> Git Repo - qemu.git/commitdiff
aes: remove a dead return statement
authorPaolo Bonzini <[email protected]>
Mon, 26 Jan 2015 11:12:26 +0000 (12:12 +0100)
committerMichael Tokarev <[email protected]>
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 <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>
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();
 }
 
 /**
This page took 0.027865 seconds and 4 git commands to generate.