mbox series

[0/2] crypto: fix TLS PSK credentials on Windows platforms

Message ID 20221003102718.600058-1-berrange@redhat.com
Headers show
Series crypto: fix TLS PSK credentials on Windows platforms | expand

Message

Daniel P. Berrangé Oct. 3, 2022, 10:27 a.m. UTC
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(-)