Skip to content

Commit

Permalink
Merge GH #1236 Fix version check, LibreSSL is ok
Browse files Browse the repository at this point in the history
  • Loading branch information
randombit committed Oct 4, 2017
2 parents a3851e6 + e61a5f5 commit 1ed9d8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/engine/openssl/ossl_bc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <botan/internal/openssl_engine.h>
#include <openssl/evp.h>

#if OPENSSL_VERSION_NUMBER >= 0x10100000
#if OPENSSL_VERSION_NUMBER >= 0x10100000 && !defined(LIBRESSL_VERSION_NUMBER)
#error "OpenSSL 1.1 API not supported in Botan 1.10, upgrade to 2.x"
#endif

Expand Down
2 changes: 1 addition & 1 deletion src/engine/openssl/ossl_md.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <botan/internal/openssl_engine.h>
#include <openssl/evp.h>

#if OPENSSL_VERSION_NUMBER >= 0x10100000
#if OPENSSL_VERSION_NUMBER >= 0x10100000 && !defined(LIBRESSL_VERSION_NUMBER)
#error "OpenSSL 1.1 API not supported in Botan 1.10, upgrade to 2.x"
#endif

Expand Down

0 comments on commit 1ed9d8d

Please sign in to comment.