raise buffer sizes and remove a miss-leading error

This commit is contained in:
Klas Lindfors
2015-11-20 08:53:39 +01:00
parent 113c3e0b98
commit ed38b96fe4
2 changed files with 3 additions and 7 deletions
+1 -1
View File
@@ -751,7 +751,7 @@ ykpiv_rc ykpiv_fetch_object(ykpiv_state *state, int object_id,
ykpiv_rc ykpiv_save_object(ykpiv_state *state, int object_id,
unsigned char *indata, size_t len) {
unsigned char data[2048];
unsigned char data[3072];
unsigned char *dataptr = data;
unsigned char templ[] = {0, YKPIV_INS_PUT_DATA, 0x3f, 0xff};
int sw;