From dbe9cea35b7a43a4907fa726e7a8afc31a6fbee3 Mon Sep 17 00:00:00 2001 From: William Lallemand Date: Fri, 8 Dec 2023 11:55:15 +0100 Subject: [PATCH] BUILD: ssl: update types in wolfssl cert selection callback The types have changed in the PR for the wolfSSL_get_sigalg_info() function, let's update them. Must be backported in 2.9. --- src/ssl_sock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ssl_sock.c b/src/ssl_sock.c index 46bfb4bf45..4dc14df012 100644 --- a/src/ssl_sock.c +++ b/src/ssl_sock.c @@ -2859,8 +2859,8 @@ static int ssl_sock_switchctx_wolfSSL_cbk(WOLFSSL* ssl, void* arg) has_rsa_sig = 0; } for (idx = 0; idx < hashSigAlgoSz; idx += 2) { - enum wc_HashType hashAlgo; - enum Key_Sum sigAlgo; + int hashAlgo; + int sigAlgo; wolfSSL_get_sigalg_info(hashSigAlgo[idx+0], hashSigAlgo[idx+1], &hashAlgo, &sigAlgo); -- 2.47.2