History

certs: make system keyring depend on built-in x509 parser

Commit e90886291c7c ("certs: make system keyring depend on x509 parser") is not the right fix because x509_load_certificate_list() can be modular. The combination of CONFIG_SYSTEM_TRUSTED_KEYRING=y and CONFIG_X509_CERTIFICATE_PARSER=m still results in the following error: LD .tmp_vmlinux.kallsyms1 ld: certs/system_keyring.o: in function `load_system_certificate_list': system_keyring.c:(.init.text+0x8c): undefined reference to `x509_load_certificate_list' make: *** [Makefile:1169: vmlinux] Error 1

Masahiro Yamada committed 4 years ago

Commit 2154aca1 parent 03764b31 file · +1 −1Browse files

Unified · Split

certs/Kconfig+1−1
@@ -43,7 +43,7 @@ config SYSTEM_TRUSTED_KEYRING · 42 unmodified lines
43 bool "Provide system-wide ring of trusted keys"43 bool "Provide system-wide ring of trusted keys"
44 depends on KEYS44 depends on KEYS
45 depends on ASYMMETRIC_KEY_TYPE45 depends on ASYMMETRIC_KEY_TYPE
46 depends on X509_CERTIFICATE_PARSER46 depends on X509_CERTIFICATE_PARSER = y
47 help47 help
48 Provide a system keyring to which trusted keys can be added. Keys in48 Provide a system keyring to which trusted keys can be added. Keys in
49 the keyring are considered to be trusted. Keys may be added at will49 the keyring are considered to be trusted. Keys may be added at will

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t