add a missing const

This commit is contained in:
christos 2005-05-31 00:43:56 +00:00
parent a7c4860a95
commit 87de4cecc4

View File

@ -1,4 +1,4 @@
/* $NetBSD: rmd160.c,v 1.3 2003/08/26 20:15:13 thorpej Exp $ */
/* $NetBSD: rmd160.c,v 1.4 2005/05/31 00:43:56 christos Exp $ */
/* $KAME: rmd160.c,v 1.2 2003/07/25 09:37:55 itojun Exp $ */
/* $OpenBSD: rmd160.c,v 1.3 2001/09/26 21:40:13 markus Exp $ */
/*
@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: rmd160.c,v 1.3 2003/08/26 20:15:13 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: rmd160.c,v 1.4 2005/05/31 00:43:56 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -170,7 +170,7 @@ RMD160Transform(u_int32_t state[5], const u_char block[64])
int i;
for (i = 0; i < 16; i++)
x[i] = le32toh(*(u_int32_t*)(block+i*4));
x[i] = le32toh(*(const u_int32_t*)(block+i*4));
#endif
a = state[0];