mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-11 19:00:02 +01:00
Use #if for ENABLE_AF_ALG.
This commit is contained in:
@@ -606,7 +606,7 @@ static int TCRYPT_init_hdr(struct crypt_device *cd,
|
||||
|
||||
if ((r < 0 && skipped && skipped == i) || r == -ENOTSUP) {
|
||||
log_err(cd, _("Required kernel crypto interface not available."));
|
||||
#ifdef ENABLE_AF_ALG
|
||||
#if ENABLE_AF_ALG
|
||||
log_err(cd, _("Ensure you have algif_skcipher kernel module loaded."));
|
||||
#endif
|
||||
r = -ENOTSUP;
|
||||
|
||||
Reference in New Issue
Block a user