Merge branch 'master' into ykcs11

Conflicts:
	NEWS
	configure.ac
This commit is contained in:
Klas Lindfors
2015-09-07 14:34:34 +02:00
2 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -713,7 +713,7 @@ ykpiv_rc ykpiv_verify(ykpiv_state *state, const char *pin, int *tries) {
} else if(sw == 0x9000) {
return YKPIV_OK;
} else if((sw >> 8) == 0x63) {
*tries = (sw & 0xff);
*tries = (sw & 0xf);
return YKPIV_WRONG_PIN;
} else if(sw == 0x6983) {
*tries = 0;