Correct the argument passed to g_eli_algo2str()

MFC with:	r348206
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Li-Wen Hsu 2019-05-24 06:49:47 +00:00
parent ed3f0b8a21
commit 2b32abd2b1

View File

@ -818,7 +818,7 @@ eli_init(struct gctl_req *req)
case CRYPTO_3DES_CBC:
case CRYPTO_BLF_CBC:
gctl_error(req, "The %s encryption algorithm is deprecated.",
g_eli_algo2str(md.md_aalgo));
g_eli_algo2str(md.md_ealgo));
return;
}
val = gctl_get_intmax(req, "keylen");