summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/auth_gss/gss_krb5_crypto.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2023-01-15 12:23:27 -0500
committerChuck Lever <chuck.lever@oracle.com>2023-02-20 09:20:46 -0500
commit6e460c230d2dfb0e5a02b6e0995546bb4b9d208e (patch)
tree2a5be51480cd1ef419a26ec27059d25116628bf3 /net/sunrpc/auth_gss/gss_krb5_crypto.c
parent6e6d9eee0e78b3d13018e0eb28102b67ad5a8e86 (diff)
downloadlinux-6e460c230d2dfb0e5a02b6e0995546bb4b9d208e.tar.gz
linux-6e460c230d2dfb0e5a02b6e0995546bb4b9d208e.tar.bz2
linux-6e460c230d2dfb0e5a02b6e0995546bb4b9d208e.zip
SUNRPC: Move remaining internal definitions to gss_krb5_internal.h
The goal is to leave only protocol-defined items in gss_krb5.h so that it can be easily replaced by a generic header. Implementation specific items are moved to the new internal header. Tested-by: Scott Mayhew <smayhew@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/sunrpc/auth_gss/gss_krb5_crypto.c')
-rw-r--r--net/sunrpc/auth_gss/gss_krb5_crypto.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sunrpc/auth_gss/gss_krb5_crypto.c b/net/sunrpc/auth_gss/gss_krb5_crypto.c
index 4f29216d414a..5c811b554fd1 100644
--- a/net/sunrpc/auth_gss/gss_krb5_crypto.c
+++ b/net/sunrpc/auth_gss/gss_krb5_crypto.c
@@ -572,7 +572,6 @@ xdr_extend_head(struct xdr_buf *buf, unsigned int base, unsigned int shiftlen)
if (shiftlen == 0)
return 0;
- BUILD_BUG_ON(GSS_KRB5_MAX_SLACK_NEEDED > RPC_MAX_AUTH_SIZE);
BUG_ON(shiftlen > RPC_MAX_AUTH_SIZE);
p = buf->head[0].iov_base + base;