Michael Kelley <[email protected]> wrote:
> I'm building linux-next20260130, which has this patch, and get the following
> errors:
>
> HOSTCC scripts/sign-file
> scripts/sign-file.c: In function 'main':
> scripts/sign-file.c:282:25: error: 'CMS_NO_SIGNING_TIME' undeclared (first
> use in this function)
> ...
> The problem is that I'm running on Ubuntu 20.04, with this openssl:
>
> # openssl version
> OpenSSL 1.1.1f 31 Mar 2020
The problem probably isn't this patch, it's almost certainly due to:
d7afd65b4acc7 ("sign-file: Use only the OpenSSL CMS API for signing")
in the modules tree. It removes support for PKCS#7 signature generation.
Were you using PKCS#7 with SHA1?
David