crypto: quote algorithm names in error messages
commit6c1989321eb95d5d2e29d3537484836bf0f21744
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 5 Sep 2022 11:08:21 +0000 (5 12:08 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 27 Oct 2022 11:55:27 +0000 (27 12:55 +0100)
tree32012877316c29c7e41ed88d04a2c70a1c3247bf
parent98c72dfb714385b03da03abb45f931a14af6138e
crypto: quote algorithm names in error messages

If given a malformed LUKS header, it is possible that the algorithm
names end up being an empty string. This leads to confusing error
messages unless quoting is used to highlight where the empty string
is subsituted in the error message.

Reviewed-by: Richard W.M. Jones <rjones@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
crypto/block-luks.c