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: Sun, 20 Nov 2011 22:12:34 -0800 From: Randy Dunlap <rdunlap@...otime.net> To: Stephen Rothwell <sfr@...b.auug.org.au> CC: linux-next@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>, Dmitry Kasatkin <dmitry.kasatkin@...el.com>, Linux Crypto Mailing List <linux-crypto@...r.kernel.org> Subject: [PATCH -next] digsig: fix build errors From: Randy Dunlap <rdunlap@...otime.net> Fix build errors by adding kconfig dependency on KEYS: lib/digsig.c:106:16: error: dereferencing pointer to incomplete type lib/digsig.c:107:11: error: dereferencing pointer to incomplete type lib/digsig.c:184:14: error: dereferencing pointer to incomplete type lib/digsig.c:223:3: error: 'key_ref_t' undeclared (first use in this function) lib/digsig.c:223:13: error: expected ';' before 'kref' lib/digsig.c:224:3: error: 'kref' undeclared (first use in this function) lib/digsig.c:224:3: error: implicit declaration of function 'keyring_search' lib/digsig.c:231:3: error: implicit declaration of function 'request_key' and after changing lib/Kconfig: warning: (INTEGRITY_DIGSIG) selects DIGSIG which has unmet direct dependencies (CRYPTO && KEYS) Signed-off-by: Randy Dunlap <rdunlap@...otime.net> Cc: Dmitry Kasatkin <dmitry.kasatkin@...el.com> --- lib/Kconfig | 4 ++-- security/integrity/Kconfig | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) --- next-2011-1121.orig/lib/Kconfig +++ next-2011-1121/lib/Kconfig @@ -294,10 +294,10 @@ config MPILIB_EXTRA config DIGSIG tristate "In-kernel signature checker" - depends on CRYPTO + depends on CRYPTO && KEYS select MPILIB help Digital signature verification. Currently only RSA is supported. - Implementation is done using GnuPG MPI library + Implementation is done using GnuPG MPI library. endmenu --- next-2011-1121.orig/security/integrity/Kconfig +++ next-2011-1121/security/integrity/Kconfig @@ -5,7 +5,7 @@ config INTEGRITY config INTEGRITY_DIGSIG boolean "Digital signature verification using multiple keyrings" - depends on INTEGRITY + depends on INTEGRITY && CRYPTO && KEYS default n select DIGSIG help -- 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