]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
sign-file: Fix warning about BIO_reset() return value
authorDavid Howells <dhowells@redhat.com>
Thu, 13 Aug 2015 03:03:12 +0000 (04:03 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 13 Aug 2015 03:03:12 +0000 (04:03 +0100)
commite9a5e8cc55286941503f36c5b7485a5aa923b3f1
tree169f250c2b7c3632530c77c9c5a52ab9581693b8
parent772111ab01eace6a7e4cf821a4348cec64a97c92
sign-file: Fix warning about BIO_reset() return value

Fix the following warning:

scripts/sign-file.c: In function ‘main’:
scripts/sign-file.c:188: warning: value computed is not used

whereby the result of BIO_ctrl() is cast inside of BIO_reset() to an
integer of a different size - which we're not checking but probably should.

Reported-by: James Morris <jmorris@namei.org>
Signed-off-by: David Howells <dhowells@redhat.com>
scripts/sign-file.c