Check-in [bc60cf4dca]
Overview
Comment:Updated to set the output size after decompressing a certificate
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:bc60cf4dca7aceb93e98bb1f2d54ad937f6f7e5d
User & Date: rkeene on 2015-03-05 17:49:13
Other Links: manifest | tags
Context
2015-03-20
17:32
CACKey 0.7.1 check-in: 7c43a082a7 user: rkeene tags: trunk, 0.7.1
2015-03-05
17:49
Updated to set the output size after decompressing a certificate check-in: bc60cf4dca user: rkeene tags: trunk
17:40
Updated to use fewer APDUs when signing/decrypting check-in: 4f5638aabf user: rkeene tags: trunk
Changes

Modified cackey.c from [a840779390] to [65139610e9].

2605
2606
2607
2608
2609
2610
2611


2612
2613
2614
2615
2616
2617
2618
					}
					if (uncompress_ret == Z_STREAM_END) {
						uncompress_ret = inflateEnd(&gzip_stream);
					} else {
						uncompress_ret = Z_DATA_ERROR;
					}
					if (uncompress_ret == Z_OK) {


						CACKEY_DEBUG_PRINTBUF("Decompressed to:", tmpbuf, tmpbuflen);

						free(curr_id->certificate);

						curr_id->certificate = tmpbuf;
						curr_id->certificate_len = tmpbuflen;
					} else {







>
>







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 {