Remove support for OpenSSL < 1.0.0

This commit is contained in:
Ondřej Surý
2018-05-03 14:03:50 +02:00
parent 16e352248d
commit 61da2bf028
14 changed files with 86 additions and 932 deletions

View File

@@ -42,19 +42,10 @@
#include <dst/dst.h>
#include <dst/result.h>
#ifdef OPENSSL
#include <openssl/opensslv.h>
#if OPENSSL_VERSION_NUMBER <= 0x00908000L
#define USE_FIX_KEY_FILES
#endif
#else
#define USE_FIX_KEY_FILES
#endif
#ifdef USE_FIX_KEY_FILES
#if !defined(OPENSSL)
/*
* Use a fixed key file pair if OpenSSL doesn't support > 32 bit exponents.
* Use a fixed key file pair if compiled without OpenSSL.
*/
int