From 42567795b30ae8e33a90f0fa956204408b419757 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Thu, 25 Oct 2012 20:40:56 +0000 Subject: Switch from MD5 to SHA-1 for network digests. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2530 --- src/net_structrw.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/net_structrw.c') diff --git a/src/net_structrw.c b/src/net_structrw.c index c2e878fa..bba08212 100644 --- a/src/net_structrw.c +++ b/src/net_structrw.c @@ -321,12 +321,12 @@ void NET_WriteFullTiccmd(net_packet_t *packet, net_full_ticcmd_t *cmd, boolean l } } -boolean NET_ReadMD5Sum(net_packet_t *packet, md5_digest_t digest) +boolean NET_ReadSHA1Sum(net_packet_t *packet, sha1_digest_t digest) { unsigned int b; int i; - for (i=0; i<16; ++i) + for (i=0; i