Skip to contentSkip to conversation

crypto: pkcs7: export verify_pkcs7_message_sig() as EXPORT_SYMBOL_GPL

PATCH New Paul Moore 1 participant 1 message May 23

Subsystems (2)
lore
Share & tools
lore

Paul Moore

author maintainer
#0 lore raw

PATCH 1/1 crypto: pkcs7: export verify_pkcs7_message_sig() as EXPORT_SYMBOL_GPL

For the sake of consistency with pther PKCS7 functions, export verify_pkcs7_message_sig() as EXPORT_SYMBOL_GPL.

Cc James Bottomley <[email protected]>
Fixes 188cfb7ec81c ("crypto: pkcs7: add flag for validated trust on a signed info block")
---
 certs/system_keyring.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
certs/system_keyring.c +1 -1
index 9bda49295bd0..e1268d0cffff 100644
@@ -380,7 +380,7 @@ int verify_pkcs7_message_sig(const void *data, size_t len,
 	pr_devel("<==%s() = %d\n", __func__, ret);
 	return ret;
 }
-EXPORT_SYMBOL(verify_pkcs7_message_sig);
+EXPORT_SYMBOL_GPL(verify_pkcs7_message_sig);
 
 /**
  * verify_pkcs7_signature - Verify a PKCS#7-based signature on system data.
Signature · 1 line
2.54.0