lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu, 24 Sep 2015 12:18:53 +0100 From: David Howells <dhowells@...hat.com> To: Vinson Lee <vlee@...pensource.com> Cc: dhowells@...hat.com, David Woodhouse <David.Woodhouse@...el.com>, "Luis R. Rodriguez" <mcgrof@...e.com>, Mimi Zohar <zohar@...ux.vnet.ibm.com>, Marcel Holtmann <marcel@...tmann.org>, LKML <linux-kernel@...r.kernel.org> Subject: Re: Linux 4.3-rc1 build error on CentOS 5.11 "scripts/sign-file.c:23:25: fatal error: openssl/cms.h: No such file or directory" Vinson Lee <vlee@...pensource.com> wrote: > HOSTCC scripts/sign-file > scripts/sign-file.c: In function ‘main’: > scripts/sign-file.c:289:3: warning: implicit declaration of function > ‘i2d_PKCS7_bio_stream’ [-Wimplicit-function-declaration] > ERR(i2d_PKCS7_bio_stream(b, pkcs7, NULL, 0) < 0, > ^ > > sign-file.c:(.text.startup+0x3e7): undefined reference to `i2d_PKCS7_bio_stream' Does this addition help? David --- diff --git a/scripts/sign-file.c b/scripts/sign-file.c index f65120e2aa03..33c098225a57 100755 --- a/scripts/sign-file.c +++ b/scripts/sign-file.c @@ -307,7 +307,7 @@ int main(int argc, char **argv) #ifndef USE_PKCS7 ERR(i2d_CMS_bio_stream(bd, cms, NULL, 0) < 0, "%s", dest_name); #else - ERR(i2d_PKCS7_bio_stream(bd, pkcs7, NULL, 0) < 0, "%s", dest_name); + ERR(i2d_PKCS7_bio(bd, pkcs7) < 0, "%s", dest_name); #endif sig_size = BIO_number_written(bd) - module_size; sig_info.sig_len = htonl(sig_size); -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists