mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-01-12 19:20:28 +03:00
Fix crypto build on FreeBSD HEAD
Update API usage to reflect recent change. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Matt Macy <mmacy@FreeBSD.org> Closes #10384
This commit is contained in:
parent
9052e3d70b
commit
3bf3b164ee
@ -343,9 +343,7 @@ freebsd_crypt_uio(boolean_t encrypt,
|
||||
CRYPTO_OP_VERIFY_DIGEST;
|
||||
}
|
||||
crp->crp_flags = CRYPTO_F_CBIFSYNC | CRYPTO_F_IV_SEPARATE;
|
||||
crp->crp_buf_type = CRYPTO_BUF_UIO;
|
||||
crp->crp_uio = (void*)data_uio;
|
||||
crp->crp_ilen = data_uio->uio_resid;
|
||||
crypto_use_uio(crp, data_uio);
|
||||
|
||||
crp->crp_aad_start = 0;
|
||||
crp->crp_aad_length = auth_len;
|
||||
|
Loading…
Reference in New Issue
Block a user