ASN.1: fix open failure check on headername
authorColin Ian King <colin.king@canonical.com>
Wed, 6 Apr 2016 13:06:48 +0000 (14:06 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 6 Apr 2016 13:06:48 +0000 (14:06 +0100)
commit952cca6a724c420a1efb6025e41862dfd2c1edc3
tree8782bbeea503ec01d2e2f2e970fb2e69a0eba8d3
parent8d4a2ec1e0b41b0cf9a0c5cd4511da7f8e4f3de2
ASN.1: fix open failure check on headername

The check for a failed open on headername is incorrectly checking
on the out FILE pointer rather than the hdr. Fix this.

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