mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Cleanup unused bit in ssl
Became unused when removing deprecated ssl_set_own_cert_xxx() functions
This commit is contained in:
@ -6507,14 +6507,7 @@ static void ssl_key_cert_free( ssl_key_cert *key_cert )
|
||||
while( cur != NULL )
|
||||
{
|
||||
next = cur->next;
|
||||
|
||||
if( cur->key_own_alloc )
|
||||
{
|
||||
pk_free( cur->key );
|
||||
polarssl_free( cur->key );
|
||||
}
|
||||
polarssl_free( cur );
|
||||
|
||||
cur = next;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user