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