pkcs15: fix warning Wsign-compare

This commit is contained in:
Viktor Tarasov 2016-03-20 21:06:07 +01:00
parent 8b9ce2cf4a
commit 6f667e0510
1 changed files with 2 additions and 2 deletions

View File

@ -1207,9 +1207,9 @@ static int
sc_pkcs15_read_der_file(sc_context_t *ctx, char * filename,
u8 ** buf, size_t * buflen)
{
int r, offs;
int r;
int f = -1;
size_t len;
size_t len, offs;
u8 tagbuf[16]; /* enough to read in the tag and length */
u8 * rbuf = NULL;
size_t rbuflen = 0;