Move shared functionality from util.c to internal.h

This commit is contained in:
Trevor Bentley
2017-09-12 12:57:47 +02:00
parent dfd2a9ef92
commit 48c2b8e99c
3 changed files with 59 additions and 62 deletions
-1
View File
@@ -278,7 +278,6 @@ ykpiv_rc ykpiv_connect_with_card(ykpiv_state *state, uint64_t context, uint64_t
}
ykpiv_rc ykpiv_connect(ykpiv_state *state, const char *wanted) {
// TREV TODO: use _connect_internal
uint32_t active_protocol;
char reader_buf[2048];
size_t num_readers = sizeof(reader_buf);