mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-07 06:42:56 +03:00
Fix missing dereference.
Went unnoticed because it was only on a defensive code path, in an internal function, so not exercised.
This commit is contained in:
@@ -2182,8 +2182,8 @@ static int x509_crt_find_parent(
|
||||
/* extra precaution against mistakes in the caller */
|
||||
if( parent == NULL )
|
||||
{
|
||||
parent_is_trusted = 0;
|
||||
signature_is_good = 0;
|
||||
*parent_is_trusted = 0;
|
||||
*signature_is_good = 0;
|
||||
}
|
||||
|
||||
return( 0 );
|
||||
|
Reference in New Issue
Block a user