diff options
author | Maxim Dounin <mdounin@mdounin.ru> | 2014-07-09 04:08:13 +0400 |
---|---|---|
committer | Maxim Dounin <mdounin@mdounin.ru> | 2014-07-09 04:08:13 +0400 |
commit | ce64398751a8852d55a9773ff54ce7a2a5acd44d (patch) | |
tree | 3a58117b4c4d6ffd5f9769bbbb6c88ddbf2baad2 /src/misc/ngx_cpp_test_module.cpp | |
parent | bd058b9d2400fec147ed9717101af114eaf364ec (diff) | |
download | nginx-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