diff options
author | Lukas Wunner <lukas@wunner.de> | 2023-01-08 18:08:08 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-01-19 14:46:45 +0100 |
commit | 3609ff6401c3660e859cda0dd944782ec8300e7e (patch) | |
tree | 815929d5c7ff10aac27fb6d3aef5efe53e0876c5 /crypto | |
parent | bitfield: add FIELD_PREP_CONST() (diff) | |
download | linux-3609ff6401c3660e859cda0dd944782ec8300e7e.tar.xz linux-3609ff6401c3660e859cda0dd944782ec8300e7e.zip |
wifi: cfg80211: Deduplicate certificate loading
load_keys_from_buffer() in net/wireless/reg.c duplicates
x509_load_certificate_list() in crypto/asymmetric_keys/x509_loader.c
for no apparent reason.
Deduplicate it. No functional change intended.
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Acked-by: David Howells <dhowells@redhat.com>
Link: https://lore.kernel.org/r/e7280be84acda02634bc7cb52c97656182b9c700.1673197326.git.lukas@wunner.de
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/asymmetric_keys/x509_loader.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/asymmetric_keys/x509_loader.c b/crypto/asymmetric_keys/x509_loader.c index 1bc169dee22e..a41741326998 100644 --- a/crypto/asymmetric_keys/x509_loader.c +++ b/crypto/asymmetric_keys/x509_loader.c @@ -55,3 +55,4 @@ dodgy_cert: pr_err("Problem parsing in-kernel X.509 certificate list\n"); return 0; } +EXPORT_SYMBOL_GPL(x509_load_certificate_list); |