Differences From Artifact [a840779390]:
- File cackey.c — part of check-in [4f5638aabf] at 2015-03-05 17:40:19 on branch trunk — Updated to use fewer APDUs when signing/decrypting (user: rkeene, size: 206429) [annotate] [blame] [check-ins using]
To Artifact [65139610e9]:
- File cackey.c — part of check-in [bc60cf4dca] at 2015-03-05 17:49:13 on branch trunk — Updated to set the output size after decompressing a certificate (user: rkeene, size: 206471) [annotate] [blame] [check-ins using]
| ︙ | |||
2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 | 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 | + + |
}
if (uncompress_ret == Z_STREAM_END) {
uncompress_ret = inflateEnd(&gzip_stream);
} else {
uncompress_ret = Z_DATA_ERROR;
}
if (uncompress_ret == Z_OK) {
tmpbuflen = gzip_stream.total_out;
CACKEY_DEBUG_PRINTBUF("Decompressed to:", tmpbuf, tmpbuflen);
free(curr_id->certificate);
curr_id->certificate = tmpbuf;
curr_id->certificate_len = tmpbuflen;
} else {
|
| ︙ |