Blame SOURCES/0032-Ticket-bz1358565-clear-and-unsalted-password-types-a.patch

7c7f29
From bf87f952dc7a07786ddb9e895a956505cd951cf3 Mon Sep 17 00:00:00 2001
7c7f29
From: Noriko Hosoi <nhosoi@redhat.com>
7c7f29
Date: Mon, 8 Aug 2016 10:12:33 -0700
7c7f29
Subject: [PATCH 32/32] Ticket bz1358565 -  clear and unsalted password types
7c7f29
 are vulnerable to timing attack
7c7f29
7c7f29
Description: Fixing a compiler warning introduced by commit
7c7f29
f0e03b5a51972a125fe78f448d1f68e288782d1e.
7c7f29
---
7c7f29
 ldap/servers/plugins/pwdstorage/clear_pwd.c | 1 -
7c7f29
 1 file changed, 1 deletion(-)
7c7f29
7c7f29
diff --git a/ldap/servers/plugins/pwdstorage/clear_pwd.c b/ldap/servers/plugins/pwdstorage/clear_pwd.c
7c7f29
index 2afe16e..b9b362d 100644
7c7f29
--- a/ldap/servers/plugins/pwdstorage/clear_pwd.c
7c7f29
+++ b/ldap/servers/plugins/pwdstorage/clear_pwd.c
7c7f29
@@ -26,7 +26,6 @@ int
7c7f29
 clear_pw_cmp( const char *userpwd, const char *dbpwd )
7c7f29
 {
7c7f29
     int result = 0;
7c7f29
-    int len = 0;
7c7f29
     int len_user = strlen(userpwd);
7c7f29
     int len_dbp = strlen(dbpwd);
7c7f29
     if ( len_user != len_dbp ) {
7c7f29
-- 
7c7f29
2.4.11
7c7f29