Fix bugs windows

This commit is contained in:
Mikhail Denisenko
2016-01-13 17:33:39 -05:00
parent 39f5dbd119
commit 47cb761a7e
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ CK_RV parse_readers(ykpiv_state *state, const CK_BYTE_PTR readers, const CK_ULON
}
}
(*n_slots)++;
p += i + 1;
p = readers + i + 1;
}
return CKR_OK;