commit | a5a3e40c4eadc4dc52ac9f2eaf0d81880fb0761b | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com> | Tue Oct 16 11:27:23 2018 +0200 |
committer | Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com> | Tue Oct 16 11:27:23 2018 +0200 |
tree | 49446ffb3a697a046411b4f0140a7700638f4972 | |
parent | 7a28e99fa09471689995d766d04e05a84668fc02 [diff] [blame] |
Fix missing dereference. Went unnoticed because it was only on a defensive code path, in an internal function, so not exercised.
diff --git a/library/x509_crt.c b/library/x509_crt.c index 5f9b74f..25aaff3 100644 --- a/library/x509_crt.c +++ b/library/x509_crt.c
@@ -2182,8 +2182,8 @@ /* 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 );