Skip to content

Commit 4dd5c20

Browse files
committed
Drop support for OpenSSL 1.0; fix compilation with OpenSSL 3
1 parent 968c924 commit 4dd5c20

3 files changed

Lines changed: 1 addition & 125 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ OBJFILES = \
2424
coprocess.o \
2525
fhstream.o
2626

27-
OBJFILES += crypto-openssl-10.o crypto-openssl-11.o
27+
OBJFILES += crypto-openssl-11.o
2828
LDFLAGS += -lcrypto
2929

3030
XSLTPROC ?= xsltproc

crypto-openssl-10.cpp

Lines changed: 0 additions & 120 deletions
This file was deleted.

crypto-openssl-11.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@
3030

3131
#include <openssl/opensslconf.h>
3232

33-
#if defined(OPENSSL_API_COMPAT)
34-
3533
#include "crypto.hpp"
3634
#include "key.hpp"
3735
#include "util.hpp"
@@ -115,5 +113,3 @@ void random_bytes (unsigned char* buffer, size_t len)
115113
throw Crypto_error("random_bytes", message.str());
116114
}
117115
}
118-
119-
#endif

0 commit comments

Comments
 (0)