lkml.org 
[lkml]   [2016]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v2] Security: Keys: Added derived keytype
Date
Resolved derived keytype build warnings for sparc64

Signed-off-by: Kirill Marinushkin <k.marinushkin@gmail.com>
---
security/keys/derived.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/security/keys/derived.c b/security/keys/derived.c
index 18085ce..8a6ea63 100644
--- a/security/keys/derived.c
+++ b/security/keys/derived.c
@@ -214,7 +214,7 @@ static int parse_options(char **args_str,
}
payload->saltlen = templen;
usalt.data = payload->salt;
- usalt.lenp = &payload->saltlen;
+ usalt.lenp = (size_t*)&payload->saltlen;
break;

case OPT_SHORT_ITER: /* iterations */
--
1.9.1
\
 
 \ /
  Last update: 2016-03-24 22:41    [W:0.032 / U:1.540 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site