mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-22 05:46:41 +01: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:
parent
7a28e99fa0
commit
a5a3e40c4e
1 changed files with 2 additions and 2 deletions
|
|
@ -2182,8 +2182,8 @@ static int x509_crt_find_parent(
|
||||||
/* extra precaution against mistakes in the caller */
|
/* extra precaution against mistakes in the caller */
|
||||||
if( parent == NULL )
|
if( parent == NULL )
|
||||||
{
|
{
|
||||||
parent_is_trusted = 0;
|
*parent_is_trusted = 0;
|
||||||
signature_is_good = 0;
|
*signature_is_good = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return( 0 );
|
return( 0 );
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue