aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/crypto.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2006-05-20 18:45:26 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2006-06-26 03:34:40 -0400
commitd913ea0d6b6a48dd6eed8fc5e299b8b10e049186 (patch)
treebaa603652c2428baa923dd5eef5773489c624ecf /include/linux/crypto.h
parentc7fc05992afcf1d63d6d5fb6142c8d39094dbca9 (diff)
[CRYPTO] api: Removed const from cra_name/cra_driver_name
We do need to change these names now and even more so in future with instantiated algorithms. So let's stop lying to the compiler and get rid of the const modifiers. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/linux/crypto.h')
-rw-r--r--include/linux/crypto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/crypto.h b/include/linux/crypto.h
index 6c013c88080f..7f946241b879 100644
--- a/include/linux/crypto.h
+++ b/include/linux/crypto.h
@@ -128,8 +128,8 @@ struct crypto_alg {
128 128
129 int cra_priority; 129 int cra_priority;
130 130
131 const char cra_name[CRYPTO_MAX_ALG_NAME]; 131 char cra_name[CRYPTO_MAX_ALG_NAME];
132 const char cra_driver_name[CRYPTO_MAX_ALG_NAME]; 132 char cra_driver_name[CRYPTO_MAX_ALG_NAME];
133 133
134 union { 134 union {
135 struct cipher_alg cipher; 135 struct cipher_alg cipher;