summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/hifn7751.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/sys/dev/pci/hifn7751.c b/sys/dev/pci/hifn7751.c
index 70834edf503..86cc2818b69 100644
--- a/sys/dev/pci/hifn7751.c
+++ b/sys/dev/pci/hifn7751.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hifn7751.c,v 1.134 2002/11/21 19:34:25 jason Exp $ */
+/* $OpenBSD: hifn7751.c,v 1.135 2002/11/26 00:42:53 jason Exp $ */
/*
* Invertex AEON / Hifn 7751 driver
@@ -2265,16 +2265,16 @@ hifn_callback(sc, cmd, macbuf)
if (macbuf != NULL) {
for (crd = crp->crp_desc; crd; crd = crd->crd_next) {
- int len;
-
- if (crd->crd_alg == CRYPTO_MD5)
- len = 16;
- else if (crd->crd_alg == CRYPTO_SHA1)
- len = 20;
- else if (crd->crd_alg == CRYPTO_MD5_HMAC ||
- crd->crd_alg == CRYPTO_SHA1_HMAC)
- len = 12;
- else
+ int len;
+
+ if (crd->crd_alg == CRYPTO_MD5)
+ len = 16;
+ else if (crd->crd_alg == CRYPTO_SHA1)
+ len = 20;
+ else if (crd->crd_alg == CRYPTO_MD5_HMAC ||
+ crd->crd_alg == CRYPTO_SHA1_HMAC)
+ len = 12;
+ else
continue;
if (crp->crp_flags & CRYPTO_F_IMBUF)