mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-10-28 18:07:34 +08:00
Merge 41ba420e07cc4b5b375481b85d7fe57c87a4ad27 into d8d5ea7cbc42b7800a3b030fb4341810074e7cb0
This commit is contained in:
commit
106f747187
@ -2292,9 +2292,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