summary refs log tree commit diff stats
path: root/tests/unit/test-qobject-output-visitor.c
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2024-06-10 10:37:33 +0100
committerDaniel P. Berrangé <berrange@redhat.com>2024-09-09 15:13:38 +0100
commit41162dd6ee5bc8bfd73f549d6bddd24e9b205c18 (patch)
tree3a2005a8a94a3db5b5ddb33417fa76ddf4d0fb47 /tests/unit/test-qobject-output-visitor.c
parent586ac2c67d707c2588766c5195d94fa553cc25af (diff)
downloadfocaccia-qemu-41162dd6ee5bc8bfd73f549d6bddd24e9b205c18.tar.gz
focaccia-qemu-41162dd6ee5bc8bfd73f549d6bddd24e9b205c18.zip
crypto: use consistent error reporting pattern for unsupported cipher modes
Not all paths in qcrypto_cipher_ctx_new() were correctly distinguishing
between valid user input for cipher mode (which should report a user
facing error), vs program logic errors (which should assert).

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'tests/unit/test-qobject-output-visitor.c')
0 files changed, 0 insertions, 0 deletions