[tor-dev] [patch] properly test for OPENSSL_NO_COMP

grarpamp grarpamp at gmail.com
Sun Jul 13 23:20:29 UTC 2014


>    /* Don't actually allow compression; it uses ram and time, but the data
>     * we transmit is all encrypted anyway. */
>      result->ctx->comp_methods = NULL;

This comment is confusing. Why are you asserting/mixing the two with
the ', but' that 'encryption anyway' is excuse to not compress due to
'ram/time'? They are two separate things. Either you are encrypting
compressed data, or encrypting uncompressed data.


More information about the tor-dev mailing list