cannot mount nfsv4/krb5 with krb51.7, 1.8 and 1.8.1
diff mbox

Message ID AANLkTi=YZhpAE4ei6HV=36mCq_vY0AbdiPaH0EghKDxU@mail.gmail.com
State New, archived
Headers show

Commit Message

Olga Kornievskaia March 28, 2011, 8:26 p.m. UTC
None

Patch
diff mbox

diff --git a/net/sunrpc/auth_gss/gss_krb5_mech.c b/net/sunrpc/auth_gss/gss_krb5_
index 0326446..8a4d083c 100644
--- a/net/sunrpc/auth_gss/gss_krb5_mech.c
+++ b/net/sunrpc/auth_gss/gss_krb5_mech.c
@@ -422,7 +422,7 @@  static int
 context_derive_keys_rc4(struct krb5_ctx *ctx)
 {
        struct crypto_hash *hmac;
-       char sigkeyconstant[] = "signaturekey";
+       static const char sigkeyconstant[] = "signaturekey";
        int slen = strlen(sigkeyconstant) + 1;  /* include null terminator */
        struct hash_desc desc;
        struct scatterlist sg[1];