summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-04-14 18:03:29 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2016-04-14 18:03:29 -0700
commit4c0b1c67c6250be73cedeac935b860e09de4420f (patch)
treedde83a92187b506a3f88b2e05568884d01cc339a /scripts
parent51d7b120418e99d6b3bf8df9eb3cc31e8171dee4 (diff)
parent58976eef9dc0318ef87bb81a6303b69d941d04bc (diff)
downloadlinux-4c0b1c67c6250be73cedeac935b860e09de4420f.tar.gz
linux-4c0b1c67c6250be73cedeac935b860e09de4420f.tar.bz2
linux-4c0b1c67c6250be73cedeac935b860e09de4420f.zip
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
Pull keys bugfixes from James Morris: "Two bugfixes for Keys related code" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security: ASN.1: fix open failure check on headername assoc_array: don't call compare_object() on a node
Diffstat (limited to 'scripts')
-rw-r--r--scripts/asn1_compiler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/asn1_compiler.c b/scripts/asn1_compiler.c
index e000f44e37b8..c1b7ef3e24c1 100644
--- a/scripts/asn1_compiler.c
+++ b/scripts/asn1_compiler.c
@@ -650,7 +650,7 @@ int main(int argc, char **argv)
}
hdr = fopen(headername, "w");
- if (!out) {
+ if (!hdr) {
perror(headername);
exit(1);
}