net/sunrpc: Use static const char arrays
[linux-2.6.git] / net / sunrpc / auth_gss / gss_krb5_mech.c
index 0326446..8a4d083 100644 (file)
@@ -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];