Added buglist to generate release notes
Fixed bug with PIN CHANGE VERIFICATION. All pins were accepted. is fixed now git-svn-id: https://svn.vbchaos.nl/svn/hsb/trunk@279 05563f52-14a8-4384-a975-3d1654cca0fa
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
// Include files
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "PIN.h"
|
||||
@@ -133,7 +132,7 @@ static ErrorStatus PIN_verifyInsertedPins(struct PIN* self)
|
||||
{
|
||||
ErrorStatus returnValue = SUCCESS;
|
||||
|
||||
if(memcmp(self->pinchangeFirstInsert, self->pinchangeSecondInsert, PIN_NUMBER_OF_DIGITS != 0))
|
||||
if(strncmp(self->pinchangeFirstInsert, self->pinchangeSecondInsert, PIN_NUMBER_OF_DIGITS) != 0)
|
||||
{
|
||||
// Inserted PINs are not equal
|
||||
returnValue = ERROR;
|
||||
|
||||
Reference in New Issue
Block a user