Re: [PATCH 1/2] crypto: check for and report errors setting PSK credentials

2022-10-03 Thread Philippe Mathieu-Daudé via
On 3/10/22 12:27, Daniel P. Berrangé wrote: If setting credentials fails, the handshake will later fail to complete with an obscure error message which is hard to diagnose. Signed-off-by: Daniel P. Berrangé --- crypto/tlscredspsk.c | 16 +--- 1 file changed, 13 insertions(+), 3 d

Re: [PATCH 1/2] crypto: check for and report errors setting PSK credentials

2022-10-03 Thread Bin Meng
On Mon, Oct 3, 2022 at 6:27 PM Daniel P. Berrangé wrote: > > If setting credentials fails, the handshake will later fail to complete > with an obscure error message which is hard to diagnose. > > Signed-off-by: Daniel P. Berrangé > --- > crypto/tlscredspsk.c | 16 +--- > 1 file chang

[PATCH 1/2] crypto: check for and report errors setting PSK credentials

2022-10-03 Thread Daniel P . Berrangé
If setting credentials fails, the handshake will later fail to complete with an obscure error message which is hard to diagnose. Signed-off-by: Daniel P. Berrangé --- crypto/tlscredspsk.c | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/crypto/tlscredspsk.c b