matrixssl: clean up GCC 15 build warnings

This commit is contained in:
Mario Fetka
2026-06-22 08:05:18 +02:00
parent 9c3619078c
commit 26aeee2e30
11 changed files with 28 additions and 31 deletions

View File

@@ -6828,7 +6828,7 @@ static int nowDoCvPkaInnerECDSA(ssl_t *ssl, pkaAfter_t *pka,
{
return PS_MEM_FAIL;
}
tmpEcdsa[0] = (sigLen << 8) & 0xff00;
tmpEcdsa[0] = (sigLen >> 8) & 0xff;
tmpEcdsa[1] = sigLen & 0xff;
Memcpy(&tmpEcdsa[2], sig, sigLen);
len = sigLen + 2;