summaryrefslogtreecommitdiff
path: root/package/libtirpc/patches/patch-src_des_impl_c
blob: 0290f1bbfade49e4d41e6c7b692e8dbd1d5a9e7f (plain)
1
2
3
4
5
6
7
8
9
10
11
--- libtirpc-1.0.2.orig/src/des_impl.c	2017-07-05 17:02:23.000000000 +0200
+++ libtirpc-1.0.2/src/des_impl.c	2017-08-12 20:52:33.863661657 +0200
@@ -588,7 +588,7 @@ _des_crypt (char *buf, unsigned len, str
     }
   tin0 = tin1 = tout0 = tout1 = xor0 = xor1 = 0;
   tbuf[0] = tbuf[1] = 0;
-  __bzero (schedule, sizeof (schedule));
+  memset (schedule, 0, sizeof (schedule));
 
   return (1);
 }