summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_esp_old.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-09-30 03:29:51 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-09-30 03:29:51 +0000
commit5dcbb050d6e46286e8705538758c4473dc7093d0 (patch)
tree68fb3711f4dd01ec7001f9ae1051240c987d472c /sys/netinet/ip_esp_old.c
parent5c21ff42b57ff72accc6b851a7aed9bd3c75b367 (diff)
same as for ip_esp_new.c, and indent
Diffstat (limited to 'sys/netinet/ip_esp_old.c')
-rw-r--r--sys/netinet/ip_esp_old.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/ip_esp_old.c b/sys/netinet/ip_esp_old.c
index 92e6ecb1db8..f937ab22c6d 100644
--- a/sys/netinet/ip_esp_old.c
+++ b/sys/netinet/ip_esp_old.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_esp_old.c,v 1.6 1997/09/28 22:57:49 deraadt Exp $ */
+/* $OpenBSD: ip_esp_old.c,v 1.7 1997/09/30 03:29:50 deraadt Exp $ */
/*
* The author of this code is John Ioannidis, ji@tla.org,
@@ -211,8 +211,8 @@ esp_old_init(struct tdb *tdbp, struct xformsw *xsp, struct mbuf *m)
case ALG_ENC_3DES:
des_set_key((caddr_t) rk, (caddr_t) (xd->edx_eks[0]));
- des_set_key((caddr_t) rk + 2, (caddr_t) (xd->edx_eks[1]));
- des_set_key((caddr_t) rk + 4, (caddr_t) (xd->edx_eks[2]));
+ des_set_key((caddr_t) (rk + 2), (caddr_t) (xd->edx_eks[1]));
+ des_set_key((caddr_t) (rk + 4), (caddr_t) (xd->edx_eks[2]));
break;
}