aboutsummaryrefslogtreecommitdiff
path: root/src/misc/ngx_cpp_test_module.cpp
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2014-07-09 04:08:13 +0400
committerMaxim Dounin <mdounin@mdounin.ru>2014-07-09 04:08:13 +0400
commitce64398751a8852d55a9773ff54ce7a2a5acd44d (patch)
tree3a58117b4c4d6ffd5f9769bbbb6c88ddbf2baad2 /src/misc/ngx_cpp_test_module.cpp
parentbd058b9d2400fec147ed9717101af114eaf364ec (diff)
downloadnginx-ce64398751a8852d55a9773ff54ce7a2a5acd44d.tar.gz
nginx-ce64398751a8852d55a9773ff54ce7a2a5acd44d.zip
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.
Diffstat (limited to 'src/misc/ngx_cpp_test_module.cpp')
0 files changed, 0 insertions, 0 deletions