diff options
author | sam <sam@FreeBSD.org> | 2002-10-16 17:07:41 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2002-10-16 17:07:41 +0000 |
commit | edece5adc2723b23d13db92fa280b23ba0bf0a55 (patch) | |
tree | c7102682d092a637b1332a63e683af2b309e822e /sys/dev/hifn | |
parent | 04ced36540f738e227706ff123215a16a68d7cad (diff) | |
download | FreeBSD-src-edece5adc2723b23d13db92fa280b23ba0bf0a55.zip FreeBSD-src-edece5adc2723b23d13db92fa280b23ba0bf0a55.tar.gz |
whitespace/indentation fix from phk
Diffstat (limited to 'sys/dev/hifn')
-rw-r--r-- | sys/dev/hifn/hifn7751.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/dev/hifn/hifn7751.c b/sys/dev/hifn/hifn7751.c index 1d00872..ea87bd6 100644 --- a/sys/dev/hifn/hifn7751.c +++ b/sys/dev/hifn/hifn7751.c @@ -2574,16 +2574,16 @@ hifn_callback(struct hifn_softc *sc, struct hifn_command *cmd, u_int8_t *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) |