svn commit: r312737 - projects/ipsec/sys/netipsec

Andrey V. Elsukov ae at FreeBSD.org
Wed Jan 25 03:53:12 UTC 2017


Author: ae
Date: Wed Jan 25 03:53:11 2017
New Revision: 312737
URL: https://svnweb.freebsd.org/changeset/base/312737

Log:
  Fix build with REGRESSION enabled.

Modified:
  projects/ipsec/sys/netipsec/xform_esp.c

Modified: projects/ipsec/sys/netipsec/xform_esp.c
==============================================================================
--- projects/ipsec/sys/netipsec/xform_esp.c	Wed Jan 25 03:22:18 2017	(r312736)
+++ projects/ipsec/sys/netipsec/xform_esp.c	Wed Jan 25 03:53:11 2017	(r312737)
@@ -914,7 +914,7 @@ esp_output_cb(struct cryptop *crp)
 	/* Emulate man-in-the-middle attack when ipsec_integrity is TRUE. */
 	if (V_ipsec_integrity) {
 		static unsigned char ipseczeroes[AH_HMAC_MAXHASHLEN];
-		struct auth_hash *esph;
+		const struct auth_hash *esph;
 
 		/*
 		 * Corrupt HMAC if we want to test integrity verification of


More information about the svn-src-projects mailing list