projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b658c53
)
aes: remove a dead return statement
author
Paolo Bonzini
<pbonzini@redhat.com>
Mon, 26 Jan 2015 11:12:26 +0000
(12:12 +0100)
committer
Michael 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
patch
|
blob
|
history
diff --git
a/util/aes.c
b/util/aes.c
index
6058f19
..
3d7c4be
100644
(file)
--- 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()
;
}
/**