Diff

Differences From Artifact [a840779390]:

To Artifact [65139610e9]:


  2605   2605   					}
  2606   2606   					if (uncompress_ret == Z_STREAM_END) {
  2607   2607   						uncompress_ret = inflateEnd(&gzip_stream);
  2608   2608   					} else {
  2609   2609   						uncompress_ret = Z_DATA_ERROR;
  2610   2610   					}
  2611   2611   					if (uncompress_ret == Z_OK) {
         2612  +						tmpbuflen = gzip_stream.total_out;
         2613  +
  2612   2614   						CACKEY_DEBUG_PRINTBUF("Decompressed to:", tmpbuf, tmpbuflen);
  2613   2615   
  2614   2616   						free(curr_id->certificate);
  2615   2617   
  2616   2618   						curr_id->certificate = tmpbuf;
  2617   2619   						curr_id->certificate_len = tmpbuflen;
  2618   2620   					} else {