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.
This commit is contained in:
William Lallemand 2023-12-08 11:55:15 +01:00
parent c075e4f2fc
commit dbe9cea35b

View File

@ -2859,8 +2859,8 @@ static int ssl_sock_switchctx_wolfSSL_cbk(WOLFSSL* ssl, void* arg)
has_rsa_sig = 0; has_rsa_sig = 0;
} }
for (idx = 0; idx < hashSigAlgoSz; idx += 2) { for (idx = 0; idx < hashSigAlgoSz; idx += 2) {
enum wc_HashType hashAlgo; int hashAlgo;
enum Key_Sum sigAlgo; int sigAlgo;
wolfSSL_get_sigalg_info(hashSigAlgo[idx+0], hashSigAlgo[idx+1], &hashAlgo, &sigAlgo); wolfSSL_get_sigalg_info(hashSigAlgo[idx+0], hashSigAlgo[idx+1], &hashAlgo, &sigAlgo);