From: Zhuoying Cai <zycai@linux.ibm.com>
To: marcandre.lureau@redhat.com, qemu-devel@nongnu.org
Cc: berrange@redhat.com
Subject: Re: [PATCH] crypto/x509-utils: don't double set errp
Date: Mon, 31 Aug 2026 10:09:50 -0400 [thread overview]
Message-ID: <b5ee5fe3-8315-450c-a60c-5ed5c943acc4@linux.ibm.com> (raw)
In-Reply-To: <20260831120926.2809313-1-marcandre.lureau@redhat.com>
Reviewed-by: Zhuoying Cai <zycai@linux.ibm.com>
On 8/31/26 8:09 AM, marcandre.lureau@redhat.com wrote:
> From: Marc-André Lureau <marcandre.lureau@redhat.com>
>
> qcrypto_x509_get_ecc_curve() already sets errp on failure.
>
> Fixes: e8317c4c9f68 ("crypto/x509-utils: Add helper functions for DIAG 320 subcode 2")
> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> ---
> crypto/x509-utils.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/crypto/x509-utils.c b/crypto/x509-utils.c
> index e4767f98384e..34cbfca26bff 100644
> --- a/crypto/x509-utils.c
> +++ b/crypto/x509-utils.c
> @@ -325,7 +325,6 @@ int qcrypto_x509_check_ecc_curve_p521(uint8_t *cert, size_t size, Error **errp)
>
> curve_id = qcrypto_x509_get_ecc_curve(cert, size, errp);
> if (curve_id == -1) {
> - error_setg(errp, "Failed to get ECC curve");
> return -1;
> }
>
next prev parent reply other threads:[~2026-08-31 14:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-31 12:09 [PATCH] crypto/x509-utils: don't double set errp marcandre.lureau
2026-08-31 14:09 ` Zhuoying Cai [this message]
2026-09-01 17:17 ` Daniel P. Berrangé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b5ee5fe3-8315-450c-a60c-5ed5c943acc4@linux.ibm.com \
--to=zycai@linux.ibm.com \
--cc=berrange@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.