diff --git a/libyara/modules/pe/pe.c b/libyara/modules/pe/pe.c index 84b6869db9..a9c96d9c36 100644 --- a/libyara/modules/pe/pe.c +++ b/libyara/modules/pe/pe.c @@ -1757,7 +1757,7 @@ void _process_authenticode( { const Authenticode* authenticode = auth_array->signatures[i]; - signature_valid = authenticode->verify_flags == AUTHENTICODE_VFY_VALID + signature_valid |= authenticode->verify_flags == AUTHENTICODE_VFY_VALID ? true : false;