OSDN Git Service
(root)
/
android-x86
/
external-musl-libc.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
f50aadf
..
6885330
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;