Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 192265
b: refs/heads/master
c: 54ec3d4
h: refs/heads/master
i:
  192263: 4a8edb3
v: v3
  • Loading branch information
J. Bruce Fields authored and Trond Myklebust committed May 14, 2010
1 parent 70e990b commit 6c92130
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7561042fb7870be0b4ee57efddce68bda8968abf
refs/heads/master: 54ec3d462f3c2a3fe48a7bd592160bee31360087
5 changes: 1 addition & 4 deletions trunk/net/sunrpc/auth_gss/gss_krb5_wrap.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@
static inline int
gss_krb5_padding(int blocksize, int length)
{
/* Most of the code is block-size independent but currently we
* use only 8: */
BUG_ON(blocksize != 8);
return 8 - (length & 7);
return blocksize - (length % blocksize);
}

static inline void
Expand Down

0 comments on commit 6c92130

Please sign in to comment.