]> git.kaiwu.me - nginx.git/commit
SSL: fixed incorrect usage of #if instead of #ifdef.
authorMaxim Dounin <mdounin@mdounin.ru>
Tue, 6 Sep 2022 21:44:10 +0000 (00:44 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Tue, 6 Sep 2022 21:44:10 +0000 (00:44 +0300)
commit116a744799cf46916d1add01ad764718b7c53e9b
tree8174f0c1e16eb8058877d965d16d0ee19908f41b
parentf6a6758ca2afaf34fc2af0ab5d63bec9a0f4880c
SSL: fixed incorrect usage of #if instead of #ifdef.

In 2014ed60f17f, "#if SSL_CTRL_SET_ECDH_AUTO" test was incorrectly used
instead of "#ifdef SSL_CTRL_SET_ECDH_AUTO".  There is no practical
difference, since SSL_CTRL_SET_ECDH_AUTO evaluates to a non-zero numeric
value when defined, but anyway it's better to correctly test if the value
is defined.
src/event/ngx_event_openssl.c