qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] crypto/rsakey-builtin.c.inc: Clean up two error paths


From: Daniel P . Berrangé
Subject: Re: [PATCH] crypto/rsakey-builtin.c.inc: Clean up two error paths
Date: Fri, 8 Sep 2023 11:07:57 +0100
User-agent: Mutt/2.2.9 (2022-11-12)

On Fri, Sep 01, 2023 at 02:32:26PM +0200, Markus Armbruster wrote:
> 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>
> ---
>  crypto/rsakey-builtin.c.inc | 8 ++------
>  1 file changed, 2 insertions(+), 6 deletions(-)

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


and queued.


With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




reply via email to

[Prev in Thread] Current Thread [Next in Thread]