Check-in [ce2ae07c02]
Overview
Comment:Updated to use older mechanism for activating gzip support in zlib, to support zlib older than zlib 1.2.4
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: ce2ae07c024b815fd25fb49c902807ea202ec693
User & Date: rkeene on 2015-08-30 03:21:44
Other Links: manifest | tags
Context
2015-09-25
19:17
Added uninstall script for CACKey on Mac OS X, to be made available for download by popular demand. check-in: 976efa3ffc user: kvanals tags: trunk
2015-08-30
03:21
Updated to use older mechanism for activating gzip support in zlib, to support zlib older than zlib 1.2.4 check-in: ce2ae07c02 user: rkeene tags: trunk
2015-07-27
15:41
Simplified test code for AFL and added it to the Makefile check-in: 79322b800c user: rkeene tags: trunk
Changes

Modified cackey.c from [486977c92e] to [7fc12e8cff].

2615
2616
2617
2618
2619
2620
2621

2622











2623
2624
2625
2626
2627
2628
2629
					gzip_stream.next_in  = curr_id->certificate;
					gzip_stream.avail_in = curr_id->certificate_len;
					gzip_stream.next_out = tmpbuf;
					gzip_stream.avail_out = tmpbuflen;

					uncompress_ret = inflateInit(&gzip_stream);
					if (uncompress_ret == Z_OK) {

						uncompress_ret = inflateReset2(&gzip_stream, 31);











					}
					if (uncompress_ret == Z_OK) {
						uncompress_ret = inflate(&gzip_stream, 0);
					}
					if (uncompress_ret == Z_STREAM_END) {
						uncompress_ret = inflateEnd(&gzip_stream);
					} else {







>
|
>
>
>
>
>
>
>
>
>
>
>







2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
					gzip_stream.next_in  = curr_id->certificate;
					gzip_stream.avail_in = curr_id->certificate_len;
					gzip_stream.next_out = tmpbuf;
					gzip_stream.avail_out = tmpbuflen;

					uncompress_ret = inflateInit(&gzip_stream);
					if (uncompress_ret == Z_OK) {
						/* Try again as a gzip buffer */
						uncompress_ret = inflateEnd(&gzip_stream);
						if (uncompress_ret == Z_OK) {
							gzip_stream.zalloc = NULL;
							gzip_stream.zfree = NULL;
							gzip_stream.opaque = NULL;

							gzip_stream.next_in  = curr_id->certificate;
							gzip_stream.avail_in = curr_id->certificate_len;
							gzip_stream.next_out = tmpbuf;
							gzip_stream.avail_out = tmpbuflen;
							uncompress_ret = inflateInit2(&gzip_stream, 31);
						}
					}
					if (uncompress_ret == Z_OK) {
						uncompress_ret = inflate(&gzip_stream, 0);
					}
					if (uncompress_ret == Z_STREAM_END) {
						uncompress_ret = inflateEnd(&gzip_stream);
					} else {