lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1458854826-11680-1-git-send-email-k.marinushkin@gmail.com>
Date:	Thu, 24 Mar 2016 22:27:06 +0100
From:	Kirill Marinushkin <k.marinushkin@...il.com>
To:	dhowells@...hat.com
Cc:	linux-kernel@...r.kernel.org, keyrings@...r.kernel.org,
	linux-security-module@...r.kernel.org, k.marinushkin@...il.com
Subject: [PATCH v2] Security: Keys: Added derived keytype

Resolved derived keytype build warnings for sparc64

Signed-off-by: Kirill Marinushkin <k.marinushkin@...il.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ