Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/crypto/ripemd160 const an array.



details:   https://anonhg.NetBSD.org/src/rev/da3aa9b03d1c
branches:  trunk
changeset: 550984:da3aa9b03d1c
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue Aug 26 20:15:13 2003 +0000

description:
const an array.

diffstat:

 sys/crypto/ripemd160/rmd160.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 43055e662c0a -r da3aa9b03d1c sys/crypto/ripemd160/rmd160.c
--- a/sys/crypto/ripemd160/rmd160.c     Tue Aug 26 20:12:22 2003 +0000
+++ b/sys/crypto/ripemd160/rmd160.c     Tue Aug 26 20:15:13 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rmd160.c,v 1.2 2003/08/01 22:25:55 martin Exp $        */
+/*     $NetBSD: rmd160.c,v 1.3 2003/08/26 20:15:13 thorpej 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.2 2003/08/01 22:25:55 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rmd160.c,v 1.3 2003/08/26 20:15:13 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -89,7 +89,7 @@
 
 #define X(i)   x[i]
 
-static u_char PADDING[64] = {
+static const u_char PADDING[64] = {
        0x80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
        0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0



Home | Main Index | Thread Index | Old Index