Merge pull request #72 from torbatamas/master

Add LibreSSL version number in algorithms.hpp
This commit is contained in:
Arun Muralidharan 2020-11-16 20:12:40 +05:30 committed by GitHub
commit 241bd8291a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -518,7 +518,7 @@ private:
*/ */
static std::string public_key_ser(EVP_PKEY* pkey, jwt::string_view sign, std::error_code& ec); static std::string public_key_ser(EVP_PKEY* pkey, jwt::string_view sign, std::error_code& ec);
#if OPENSSL_VERSION_NUMBER < 0x10100000L #if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER < 0x20700000L
//ATTN: Below 2 functions //ATTN: Below 2 functions
//are Taken from https://github.com/nginnever/zogminer/issues/39 //are Taken from https://github.com/nginnever/zogminer/issues/39