Source-Changes-HG archive

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

[src/trunk]: src/sys/netipsec Fix a missing const in FAST_IPSEC && IPSEC_DEBUG



details:   https://anonhg.NetBSD.org/src/rev/be0e4a701fee
branches:  trunk
changeset: 762336:be0e4a701fee
user:      degroote <degroote%NetBSD.org@localhost>
date:      Sat Feb 19 18:26:50 2011 +0000

description:
Fix a missing const in FAST_IPSEC && IPSEC_DEBUG

diffstat:

 sys/netipsec/xform_esp.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 6381e9b9d0d8 -r be0e4a701fee sys/netipsec/xform_esp.c
--- a/sys/netipsec/xform_esp.c  Sat Feb 19 18:02:32 2011 +0000
+++ b/sys/netipsec/xform_esp.c  Sat Feb 19 18:26:50 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xform_esp.c,v 1.28 2011/02/18 20:40:58 drochner Exp $  */
+/*     $NetBSD: xform_esp.c,v 1.29 2011/02/19 18:26:50 degroote Exp $  */
 /*     $FreeBSD: src/sys/netipsec/xform_esp.c,v 1.2.2.1 2003/01/24 05:11:36 sam Exp $  */
 /*     $OpenBSD: ip_esp.c,v 1.69 2001/06/26 06:18:59 angelos Exp $ */
 
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: xform_esp.c,v 1.28 2011/02/18 20:40:58 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: xform_esp.c,v 1.29 2011/02/19 18:26:50 degroote Exp $");
 
 #include "opt_inet.h"
 #ifdef __FreeBSD__
@@ -993,7 +993,7 @@
        /* Emulate man-in-the-middle attack when ipsec_integrity is TRUE. */
        if (ipsec_integrity) {
                static unsigned char ipseczeroes[AH_HMAC_HASHLEN];
-               struct auth_hash *esph;
+               const struct auth_hash *esph;
 
                /*
                 * Corrupt HMAC if we want to test integrity verification of



Home | Main Index | Thread Index | Old Index