]> git.kaiwu.me - nginx.git/commit
SSL: fixed build with OPENSSL_NO_DEPRECATED defined.
authorMaxim Dounin <mdounin@mdounin.ru>
Wed, 9 Jul 2014 00:08:13 +0000 (04:08 +0400)
committerMaxim Dounin <mdounin@mdounin.ru>
Wed, 9 Jul 2014 00:08:13 +0000 (04:08 +0400)
commitce64398751a8852d55a9773ff54ce7a2a5acd44d
tree3a58117b4c4d6ffd5f9769bbbb6c88ddbf2baad2
parentbd058b9d2400fec147ed9717101af114eaf364ec
SSL: fixed build with OPENSSL_NO_DEPRECATED defined.

The RSA_generate_key() is marked as deprecated and causes build to
fail.  On the other hand, replacement function, RSA_generate_key_ex(),
requires much more code.  Since RSA_generate_key() is only needed
for barely usable EXP ciphers, the #ifdef was added instead.

Prodded by Piotr Sikora.
src/event/ngx_event_openssl.c