don't compile compatibility code if openssl 1.1.1

This commit is contained in:
orignal 2018-11-22 12:13:16 -05:00
parent c0e263abd3
commit cde989b59d
7 changed files with 25 additions and 1 deletions

View file

@ -7,6 +7,8 @@
Kovri go write your own code
*/
#if LEGACY_OPENSSL
namespace i2p
{
namespace crypto
@ -144,4 +146,6 @@ void chacha20(uint8_t * buf, size_t sz, const uint8_t * nonce, const uint8_t * k
}
}
}
}
#endif