diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-04-08 20:47:35 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-04-08 20:47:35 +0200 |
commit | 94c8a984ae2adbd9a9626fb42e0f2faf3e36e86f (patch) | |
tree | a4beddd64501ef00ad41c8fd5974340bec2fcf73 /net/sunrpc/auth_gss | |
parent | signal.c: fix erroneous syscall kernel-doc (diff) | |
parent | NFS: Change initial mount authflavor only when server returns NFS4ERR_WRONGSEC (diff) | |
download | linux-94c8a984ae2adbd9a9626fb42e0f2faf3e36e86f.tar.xz linux-94c8a984ae2adbd9a9626fb42e0f2faf3e36e86f.zip |
Merge branch 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6
* 'bugfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6:
NFS: Change initial mount authflavor only when server returns NFS4ERR_WRONGSEC
NFS: Fix a signed vs. unsigned secinfo bug
Revert "net/sunrpc: Use static const char arrays"
Diffstat (limited to 'net/sunrpc/auth_gss')
-rw-r--r-- | net/sunrpc/auth_gss/gss_krb5_mech.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/auth_gss/gss_krb5_mech.c b/net/sunrpc/auth_gss/gss_krb5_mech.c index 9022f0a6503e..0a9a2ec2e469 100644 --- a/net/sunrpc/auth_gss/gss_krb5_mech.c +++ b/net/sunrpc/auth_gss/gss_krb5_mech.c @@ -427,7 +427,7 @@ static int context_derive_keys_rc4(struct krb5_ctx *ctx) { struct crypto_hash *hmac; - static const char sigkeyconstant[] = "signaturekey"; + char sigkeyconstant[] = "signaturekey"; int slen = strlen(sigkeyconstant) + 1; /* include null terminator */ struct hash_desc desc; struct scatterlist sg[1]; |