diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2002-11-26 00:42:54 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2002-11-26 00:42:54 +0000 |
commit | 94a1065f6507f2f2e7a37ae975492385c37ce53f (patch) | |
tree | 9cfefca324d786110dbb51fed0f6f09c2e88b021 /sys/dev/pci/hifn7751.c | |
parent | 9d6ab873be4d419a39b860f8e32bac7b1d9ce244 (diff) |
Whitespace diff; from FreeBSD
Diffstat (limited to 'sys/dev/pci/hifn7751.c')
-rw-r--r-- | sys/dev/pci/hifn7751.c | 22 |
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) |