Module Name: src
Committed By: degroote
Date: Sat Feb 19 18:26:51 UTC 2011
Modified Files:
src/sys/netipsec: xform_esp.c
Log Message:
Fix a missing const in FAST_IPSEC && IPSEC_DEBUG
To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/sys/netipsec/xform_esp.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/netipsec/xform_esp.c
diff -u src/sys/netipsec/xform_esp.c:1.28 src/sys/netipsec/xform_esp.c:1.29
--- src/sys/netipsec/xform_esp.c:1.28 Fri Feb 18 20:40:58 2011
+++ src/sys/netipsec/xform_esp.c Sat Feb 19 18:26:50 2011
@@ -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