]> git.kaiwu.me - nginx.git/commit
Merge of r4868, r4869: SSL minor fixes.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 12 Nov 2012 18:00:32 +0000 (18:00 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 12 Nov 2012 18:00:32 +0000 (18:00 +0000)
commitd39777712d97180ff439461813083cbc7892a2a1
tree2c8d4e70773b2be86cb17f9070b6e1b9d90e0e35
parent745c7d9c8e60cb08b369c85ee9fee0ec684701b3
Merge of r4868, r4869: SSL minor fixes.

*) SSL: fixed compression workaround to remove all methods.

   Previous code used sk_SSL_COMP_delete(ssl_comp_methods, i) while iterating
   stack from 0 to n, resulting in removal of only even compression methods.

   In real life this change is a nop, as there is only one compression method
   which is enabled by default in OpenSSL.

*) SSL: added version checks for ssl compression workaround.

   The SSL_COMP_get_compression_methods() is only available as an API
   function in OpenSSL 0.9.8+, require it explicitly to unbreak build
   with OpenSSL 0.9.7.
src/event/ngx_event_openssl.c