summaryrefslogtreecommitdiffstats
path: root/libcrypt/des.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-08-12 02:43:45 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-08-12 02:43:45 +0000
commit50dcba0bb24c6c57397dab0ee4a083ee2c8266aa (patch)
tree39b45cc38150687420b955cee4a2038452e28733 /libcrypt/des.c
parent3e618254fd7d842f63b19b89a7b9cee0ec76637b (diff)
downloaduClibc-alpine-50dcba0bb24c6c57397dab0ee4a083ee2c8266aa.tar.bz2
uClibc-alpine-50dcba0bb24c6c57397dab0ee4a083ee2c8266aa.tar.xz
Bring in latest from trunk.
Diffstat (limited to 'libcrypt/des.c')
-rw-r--r--libcrypt/des.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcrypt/des.c b/libcrypt/des.c
index 270fe26ab..3b49a7af6 100644
--- a/libcrypt/des.c
+++ b/libcrypt/des.c
@@ -611,7 +611,7 @@ setkey(const char *key)
if (*key++ & 1)
p[i] |= bits8[j];
}
- des_setkey(p);
+ des_setkey((char *)p);
}
@@ -625,7 +625,7 @@ encrypt(char *block, int flag)
des_init();
setup_salt(0L);
- p = block;
+ p = (u_char*)block;
for (i = 0; i < 2; i++) {
io[i] = 0L;
for (j = 0; j < 32; j++)