refactor so ykpiv_sign_data() takes size_t input

This commit is contained in:
Klas Lindfors
2014-06-25 15:41:20 +02:00
parent ba9ee75b3f
commit b8ecc6cda2
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -464,7 +464,7 @@ ykpiv_rc ykpiv_parse_key(ykpiv_state *state,
}
ykpiv_rc ykpiv_sign_data(ykpiv_state *state,
const unsigned char *raw_in, int in_len,
const unsigned char *raw_in, size_t in_len,
unsigned char *sign_out, size_t *out_len,
unsigned char algorithm, unsigned char key) {