From: William Lallemand Date: Fri, 8 Dec 2023 10:55:15 +0000 (+0100) Subject: BUILD: ssl: update types in wolfssl cert selection callback X-Git-Tag: v3.0-dev1~113 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbe9cea35b7a43a4907fa726e7a8afc31a6fbee3;p=thirdparty%2Fhaproxy.git 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. --- 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);