crypto/rsakey-builtin.c.inc: Clean up two error paths
commite158f8e92df5782f41b61adb6fa43bed70879f7f
authorMarkus Armbruster <armbru@redhat.com>
Fri, 1 Sep 2023 12:32:26 +0000 (1 14:32 +0200)
committerDaniel P. Berrangé <berrange@redhat.com>
Tue, 7 Nov 2023 14:54:56 +0000 (7 14:54 +0000)
tree9e7c2bbff8e83059c7015285151debe544674c58
parent462ad017ed76889d46696a3581e1b52343f9b683
crypto/rsakey-builtin.c.inc: Clean up two error paths

When qcrypto_builtin_rsa_public_key_parse() is about to fail, but no
error has been set, it makes one up.  Actually, there's just one way
to fail without setting an error.  Set it there instead.

Same for qcrypto_builtin_rsa_private_key_parse().

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
crypto/rsakey-builtin.c.inc