check if chacha20 and poly1305 is presented in openssl build

This commit is contained in:
orignal 2019-01-06 17:43:05 -05:00
parent 3f091f4748
commit f74b27c58c
6 changed files with 47 additions and 45 deletions

View file

@ -16,7 +16,7 @@
#include <string.h>
#include "Crypto.h"
#if LEGACY_OPENSSL
#if !OPENSSL_AEAD_CHACHA20_POLY1305
namespace i2p
{
namespace crypto