PKCS#7: fix unitialized boolean 'want'
authorColin Ian King <colin.king@canonical.com>
Sat, 27 Feb 2016 12:45:26 +0000 (12:45 +0000)
committerDavid Howells <dhowells@redhat.com>
Mon, 29 Feb 2016 14:29:03 +0000 (14:29 +0000)
commit06aae592425701851e02bb850cb9f4997f0ae163
tree58f5826e067d3cdcf21daf987367bf7602ca3c77
parent8e1678988897ebcc29b318ed78af4808202772df
PKCS#7: fix unitialized boolean 'want'

The boolean want is not initialized and hence garbage. The default should
be false (later it is only set to true on tne sinfo->authattrs check).

Found with static analysis using CoverityScan

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David Howells <dhowells@redhat.com>
crypto/asymmetric_keys/pkcs7_parser.c