From: "Daniel P. Berrangé" <berrange@redhat.com>
To: qemu-devel@nongnu.org
Cc: "Bin Meng" <bmeng.cn@gmail.com>,
"Daniel P. Berrangé" <berrange@redhat.com>
Subject: [PATCH 0/2] crypto: fix TLS PSK credentials on Windows platforms
Date: Mon, 3 Oct 2022 11:27:16 +0100 [thread overview]
Message-ID: <20221003102718.600058-1-berrange@redhat.com> (raw)
A mixup with DOS/UNIX line endings, combined with lack of error
checking, resulted in us not initializing the PSK credentials on the
client side.
Daniel P. Berrangé (2):
crypto: check for and report errors setting PSK credentials
tests: avoid DOS line endings in PSK file
crypto/tlscredspsk.c | 16 +++++++++++++---
tests/unit/crypto-tls-psk-helpers.c | 11 +++++------
2 files changed, 18 insertions(+), 9 deletions(-)
--
2.37.3
next reply other threads:[~2022-10-03 10:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-03 10:27 Daniel P. Berrangé [this message]
2022-10-03 10:27 ` [PATCH 1/2] crypto: check for and report errors setting PSK credentials Daniel P. Berrangé
2022-10-03 13:22 ` Bin Meng
2022-10-03 13:53 ` Philippe Mathieu-Daudé via
2022-10-03 10:27 ` [PATCH 2/2] tests: avoid DOS line endings in PSK file Daniel P. Berrangé
2022-10-03 13:24 ` Bin Meng
2022-10-03 13:55 ` Philippe Mathieu-Daudé via
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=20221003102718.600058-1-berrange@redhat.com \
--to=berrange@redhat.com \
--cc=bmeng.cn@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).