Fix isPwdValid. Correct logs. Change history related function names.
authorLukasz Kostyra <l.kostyra@partner.samsung.com>
Thu, 5 Dec 2013 07:34:55 +0000 (08:34 +0100)
committerBartlomiej Grzelewski <b.grzelewski@samsung.com>
Thu, 6 Feb 2014 16:13:24 +0000 (17:13 +0100)
commit5092eb509af5be267a753b48b3b2d5200c1a1667
tree94b03d6a4df628e2076d0c199fc0a8425db999cb
parent7ba2fa71b67fbe60b9401279437ddbe6955efc19
Fix isPwdValid. Correct logs. Change history related function names.

[Issue#]        N/A
[Bug]           Wrong value returned by isPwdValid. Some logs showed up incorrectly as error.
                History related functions had misleading names.
[Cause]         Incorrect casting in isPwdValid.
[Solution]      Add condition correcting returned time by isPwdValid. Correct log types. Change
                historySize related functions to maxHistorySize.
[Verification]  Build, run tests. Test tc43 should pass, others should work as earlier. Commit with
                tc43 - http://slp-info.sec.samsung.net/gerrit/#/c/357776/

Change-Id: Ic9ce0423f2ec233f3c1d8703dba8ab92e998632d
src/server/common/protocols.cpp
src/server/common/protocols.h
src/server/service/password-file.cpp
src/server/service/password-file.h
src/server/service/password-manager.cpp