sign-file: fix build error in sign-file.c with libressl
authorFelix Fietkau <nbd@nbd.name>
Thu, 9 Feb 2017 17:17:45 +0000 (17:17 +0000)
committerJames Morris <james.l.morris@oracle.com>
Fri, 10 Feb 2017 01:43:47 +0000 (12:43 +1100)
commitf86880175d0db2e3f2e27c24881dd9b395b0b920
treef546bb0b8f8aed3578d55dbd36a4cc41b0e02016
parenta2a15479d617ebbab67c60b4eed02524536af780
sign-file: fix build error in sign-file.c with libressl

The sign-file tool failed to build against libressl. Fix this by extending
the PKCS7 check and thus making sign-file link against libressl without an
error.

Signed-off-by: John Crispin <john@phrozen.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
scripts/sign-file.c