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

@ -9,7 +9,9 @@
#define LIBI2PD_POLY1305_H
#include <cstdint>
#include <cstring>
#include "Crypto.h"
#if LEGACY_OPENSSL
namespace i2p
{
namespace crypto
@ -24,5 +26,6 @@ namespace crypto
}
}
#endif
#endif