commit | ce64398751a8852d55a9773ff54ce7a2a5acd44d | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Wed Jul 09 04:08:13 2014 +0400 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Wed Jul 09 04:08:13 2014 +0400 |
tree | 3a58117b4c4d6ffd5f9769bbbb6c88ddbf2baad2 | |
parent | bd058b9d2400fec147ed9717101af114eaf364ec [diff] |
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.