Added basic multivendor support for token information.

This commit is contained in:
Alessio Di Mauro
2015-07-03 17:23:16 +02:00
parent 2b2fe1f9fa
commit f95c6f2f2d
7 changed files with 154 additions and 13 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ ykpiv_rc ykpiv_connect(ykpiv_state *state, const char *wanted) {
}
// *********
reader_ptr = reader_buf;
reader_ptr = reader_buf; // TODO: reader_buf is never free'd
if(wanted) {
while(*reader_ptr != '\0') {
if(strstr(reader_ptr, wanted)) {