Sophie

Sophie

distrib > Mageia > 6 > armv5tl > by-pkgid > 741d673bcb95c5664e7c2a84750d540a > files > 124

glibc-2.22-26.mga6.src.rpm

--- glibc-2.22/crypt/crypt_freesec.c.orig	2015-08-16 00:52:53.000000000 +0300
+++ glibc-2.22/crypt/crypt_freesec.c	2015-08-16 01:17:27.760123795 +0300
@@ -375,7 +375,7 @@ setup_salt(u_int32_t salt, struct _crypt
 }
 
 static int
-des_setkey(const char *key, struct _crypt_extended_data *data)
+des_setkey(const u_char *key, struct _crypt_extended_data *data)
 {
 	u_int32_t	k0, k1, rawkey0, rawkey1;
 	int	shifts, round;
@@ -578,7 +578,7 @@ do_des(u_int32_t l_in, u_int32_t r_in, u
 }
 
 static int
-des_cipher(const char *in, char *out, u_int32_t salt, int count,
+des_cipher(const u_char *in, u_char *out, u_int32_t salt, int count,
 	struct _crypt_extended_data *data)
 {
 	u_int32_t	l_out, r_out, rawl, rawr;