diff options
author | pjd <pjd@FreeBSD.org> | 2006-06-04 12:15:59 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2006-06-04 12:15:59 +0000 |
commit | f0bc1f92771630952fc94da179e5879523d37c33 (patch) | |
tree | b7933613f22af775e4d43a9a928573c787a7e926 /sys/opencrypto/cryptosoft.c | |
parent | f0edd09c237cf984e92027b785e550153cb0ebbe (diff) | |
download | FreeBSD-src-f0bc1f92771630952fc94da179e5879523d37c33.zip FreeBSD-src-f0bc1f92771630952fc94da179e5879523d37c33.tar.gz |
Kill an unused argument.
Diffstat (limited to 'sys/opencrypto/cryptosoft.c')
-rw-r--r-- | sys/opencrypto/cryptosoft.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/opencrypto/cryptosoft.c b/sys/opencrypto/cryptosoft.c index 215c676..dd6714b 100644 --- a/sys/opencrypto/cryptosoft.c +++ b/sys/opencrypto/cryptosoft.c @@ -80,8 +80,8 @@ int32_t swcr_id = -1; } while (0) static int swcr_encdec(struct cryptodesc *, struct swcr_data *, caddr_t, int); -static int swcr_authcompute(struct cryptop *crp, struct cryptodesc *crd, - struct swcr_data *sw, caddr_t buf, int outtype); +static int swcr_authcompute(struct cryptodesc *crd, struct swcr_data *sw, + caddr_t buf, int outtype); static int swcr_compdec(struct cryptodesc *, struct swcr_data *, caddr_t, int); static int swcr_process(void *, struct cryptop *, int); static int swcr_newsession(void *, u_int32_t *, struct cryptoini *); @@ -470,8 +470,8 @@ swcr_authprepare(struct auth_hash *axf, struct swcr_data *sw, u_char *key, * Compute keyed-hash authenticator. */ static int -swcr_authcompute(struct cryptop *crp, struct cryptodesc *crd, - struct swcr_data *sw, caddr_t buf, int outtype) +swcr_authcompute(struct cryptodesc *crd, struct swcr_data *sw, caddr_t buf, + int outtype) { unsigned char aalg[AALG_MAX_RESULT_LEN]; struct auth_hash *axf; @@ -997,7 +997,7 @@ swcr_process(void *arg, struct cryptop *crp, int hint) case CRYPTO_SHA1_KPDK: case CRYPTO_MD5: case CRYPTO_SHA1: - if ((crp->crp_etype = swcr_authcompute(crp, crd, sw, + if ((crp->crp_etype = swcr_authcompute(crd, sw, crp->crp_buf, type)) != 0) goto done; break; |