The cgd(4) module requires des and blowfish symbols
This has been exposed with the MODULAR kernel. kobj_checksyms, 979: [cgd]: linker error: symbol `BF_set_key' not found kobj_checksyms, 979: [cgd]: linker error: symbol `des_key_sched' not found kobj_checksyms, 979: [cgd]: linker error: symbol `des_ede3_cbc_encrypt' not found WARNING: module error: unable to affix module `cgd', error 8 Reviewed by <riastradh>
This commit is contained in:
parent
6672db53ac
commit
b837326c3b
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: cgd.c,v 1.112 2016/12/11 00:20:49 alnsn Exp $ */
|
||||
/* $NetBSD: cgd.c,v 1.113 2016/12/22 20:57:33 kamil Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2002 The NetBSD Foundation, Inc.
|
||||
|
@ -30,7 +30,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.112 2016/12/11 00:20:49 alnsn Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: cgd.c,v 1.113 2016/12/22 20:57:33 kamil Exp $");
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/param.h>
|
||||
|
@ -1165,7 +1165,7 @@ selftest(void)
|
|||
printf("done\n");
|
||||
}
|
||||
|
||||
MODULE(MODULE_CLASS_DRIVER, cgd, "dk_subr");
|
||||
MODULE(MODULE_CLASS_DRIVER, cgd, "blowfish,des,dk_subr");
|
||||
|
||||
#ifdef _MODULE
|
||||
CFDRIVER_DECL(cgd, DV_DISK, NULL);
|
||||
|
|
Loading…
Reference in New Issue