projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43c2e88
)
net/sunrpc: Use static const char arrays
author
Joe Perches
<joe@perches.com>
Mon, 13 Sep 2010 19:48:01 +0000
(12:48 -0700)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Tue, 26 Oct 2010 02:19:52 +0000
(22:19 -0400)
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/auth_gss/gss_krb5_mech.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/auth_gss/gss_krb5_mech.c
b/net/sunrpc/auth_gss/gss_krb5_mech.c
index
0326446
..
8a4d083
100644
(file)
--- 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];