Fix for file injection is broken on centos computes with Cirros images LP #1587960
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / freeradius-client / 0001-fix-for-nettle.patch
1 lib/rc-md5: fix build when nettle is enabled
2
3 rc-md5 uses size_t, which is defined in string.h. This include is
4 missing when built against nettle.
5
6 Just add it.
7
8 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
9
10 diff -durN freeradius-client-1.1.7.orig/lib/rc-md5.h freeradius-client-1.1.7/lib/rc-md5.h
11 --- freeradius-client-1.1.7.orig/lib/rc-md5.h   2015-01-19 17:18:26.000000000 +0100
12 +++ freeradius-client-1.1.7/lib/rc-md5.h        2015-01-25 22:56:07.815626476 +0100
13 @@ -13,6 +13,7 @@
14  
15  #ifdef HAVE_NETTLE
16  
17 +#include <string.h> /* size_t */
18  #include <nettle/md5-compat.h>
19  
20  #else