projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5eaa221
)
remove ugly warning-suppression hack from crypt - this invokes UB!
author
Rich Felker
<dalias@aerifal.cx>
Mon, 11 Apr 2011 05:50:26 +0000
(
01:50
-0400)
committer
Rich Felker
<dalias@aerifal.cx>
Mon, 11 Apr 2011 05:50:26 +0000
(
01:50
-0400)
src/misc/crypt.c
patch
|
blob
|
history
diff --git
a/src/misc/crypt.c
b/src/misc/crypt.c
index f50aadf21a69526ee7b4211e5b57d4c9d9fd8e50..6885330f0532d4221ca3e2f3b8d25867100a3a62 100644
(file)
--- a/
src/misc/crypt.c
+++ b/
src/misc/crypt.c
@@
-2391,7
+2391,7
@@
static void des_setkey(struct des_ctx *ctx, const unsigned char *key)
static void do_des(struct des_ctx *ctx, uint32_t *l_out, uint32_t *r_out, int count)
{
uint32_t l, r, *kl, *kr;
- uint32_t f
= f; /* silence gcc */
+ uint32_t f
;
uint32_t r48l, r48r;
int round;