projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Static analyzer bug fixes
[silc.git]
/
lib
/
silccrypt
/
twofish.c
diff --git
a/lib/silccrypt/twofish.c
b/lib/silccrypt/twofish.c
index e8f3bd44d88dc0fc961dea93b21b029b3ebed6f2..5da3f55f9cdc66ca703a5d4c11640665c30620c5 100644
(file)
--- a/
lib/silccrypt/twofish.c
+++ b/
lib/silccrypt/twofish.c
@@
-475,7
+475,7
@@
u4byte *twofish_set_key(TwofishContext *ctx,
}
#endif
}
#endif
- ctx->k_len =
ctx->k_len =
key_len / 64; /* 2, 3 or 4 */
+ ctx->k_len = key_len / 64; /* 2, 3 or 4 */
for(i = 0; i < ctx->k_len; ++i)
{
for(i = 0; i < ctx->k_len; ++i)
{