diff options
author | Wei Yongjun <[email protected]> | 2021-05-20 13:42:11 +0000 |
---|---|---|
committer | Namjae Jeon <[email protected]> | 2021-05-21 09:33:22 +0900 |
commit | be29a3709b89374c6ae287b19dd651a8c0f10b8a (patch) | |
tree | a4355d0cf1828a895418aaa127e91282be675ebd | |
parent | eb817368f50c1cbe1bd07044124aad7db6330e3a (diff) |
cifsd: fix build error without CONFIG_OID_REGISTRY
Fix build error when CONFIG_OID_REGISTRY is not set:
mips-linux-gnu-ld: fs/cifsd/asn1.o: in function `gssapi_this_mech':
asn1.c:(.text+0xaa0): undefined reference to `sprint_oid'
mips-linux-gnu-ld: fs/cifsd/asn1.o: in function `neg_token_init_mech_type':
asn1.c:(.text+0xbec): undefined reference to `sprint_oid'
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Steve French <[email protected]>
-rw-r--r-- | fs/cifsd/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifsd/Kconfig b/fs/cifsd/Kconfig index 5316b1035fbe..e6448b04f46e 100644 --- a/fs/cifsd/Kconfig +++ b/fs/cifsd/Kconfig @@ -18,6 +18,7 @@ config SMB_SERVER select CRYPTO_CCM select CRYPTO_GCM select ASN1 + select OID_REGISTRY default n help Choose Y here if you want to allow SMB3 compliant clients |