Commit 411b5e05 authored by Joe Perches's avatar Joe Perches Committed by Trond Myklebust

net/sunrpc: Use static const char arrays

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 43c2e885
...@@ -422,7 +422,7 @@ static int ...@@ -422,7 +422,7 @@ static int
context_derive_keys_rc4(struct krb5_ctx *ctx) context_derive_keys_rc4(struct krb5_ctx *ctx)
{ {
struct crypto_hash *hmac; struct crypto_hash *hmac;
char sigkeyconstant[] = "signaturekey"; static const char sigkeyconstant[] = "signaturekey";
int slen = strlen(sigkeyconstant) + 1; /* include null terminator */ int slen = strlen(sigkeyconstant) + 1; /* include null terminator */
struct hash_desc desc; struct hash_desc desc;
struct scatterlist sg[1]; struct scatterlist sg[1];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment