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 {
|