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
+2 -2
View File
@@ -514,7 +514,7 @@ static bool request_certificate(ykpiv_state *state, enum enum_key_format key_for
unsigned char algorithm;
int key = 0;
unsigned char *signinput;
int len = 0;
size_t len = 0;
sscanf(slot, "%x", &key);
@@ -636,7 +636,7 @@ static bool selfsign_certificate(ykpiv_state *state, enum enum_key_format key_fo
unsigned char algorithm;
int key = 0;
unsigned char *signinput;
int len = 0;
size_t len = 0;
sscanf(slot, "%x", &key);