mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-07-30 16:26:33 +08:00
Merge 14323602dbefa45d267510362d37d4d8bb834d66 into f4a1aceb8ca7198b11447d6e1885ce70feb2dcc6
This commit is contained in:
commit
ee741f3f77
@ -2544,9 +2544,6 @@ static inline int mbedtls_ssl_sig_alg_is_received(const mbedtls_ssl_context *ssl
|
||||
uint16_t own_sig_alg)
|
||||
{
|
||||
const uint16_t *sig_alg = ssl->handshake->received_sig_algs;
|
||||
if (sig_alg == NULL) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
for (; *sig_alg != MBEDTLS_TLS_SIG_NONE; sig_alg++) {
|
||||
if (*sig_alg == own_sig_alg) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user