diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-09-30 03:29:51 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-09-30 03:29:51 +0000 |
commit | 5dcbb050d6e46286e8705538758c4473dc7093d0 (patch) | |
tree | 68fb3711f4dd01ec7001f9ae1051240c987d472c | |
parent | 5c21ff42b57ff72accc6b851a7aed9bd3c75b367 (diff) |
same as for ip_esp_new.c, and indent
-rw-r--r-- | sys/netinet/ip_esp.h | 4 | ||||
-rw-r--r-- | sys/netinet/ip_esp_old.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/netinet/ip_esp.h b/sys/netinet/ip_esp.h index 81263e7068d..f43d489dd96 100644 --- a/sys/netinet/ip_esp.h +++ b/sys/netinet/ip_esp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_esp.h,v 1.12 1997/09/24 18:39:38 angelos Exp $ */ +/* $OpenBSD: ip_esp.h,v 1.13 1997/09/30 03:29:50 deraadt Exp $ */ /* * The author of this code is John Ioannidis, ji@tla.org, @@ -134,7 +134,7 @@ struct esp_new_xdata u_int32_t edx_hash_algorithm; u_int32_t edx_ivlen; /* 0 or 8 */ u_int32_t edx_rpl; /* Replay counter */ - int32_t edx_wnd; /* Replay window */ + int32_t edx_wnd; /* Replay window */ u_int32_t edx_bitmap; u_int32_t edx_flags; u_int32_t edx_initial; /* initial replay value */ 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; } |