From f8f0d3726395396b4270b52c87377489d280b22e Mon Sep 17 00:00:00 2001 From: Arun M Date: Wed, 4 Apr 2018 14:00:40 +0530 Subject: [PATCH] Openssl make does not work #5 --- include/jwt/algorithm.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/jwt/algorithm.hpp b/include/jwt/algorithm.hpp index 83c8ee9..519cb58 100644 --- a/include/jwt/algorithm.hpp +++ b/include/jwt/algorithm.hpp @@ -41,6 +41,7 @@ SOFTWARE. #include #include #include +#include #include "jwt/exceptions.hpp" #include "jwt/string_view.hpp" @@ -510,6 +511,8 @@ private: */ static std::string public_key_ser(EVP_PKEY* pkey, jwt::string_view sign, std::error_code& ec); +#if OPENSSL_VERSION_NUMBER < 0x10100000L + //ATTN: Below 2 functions //are Taken from https://github.com/nginnever/zogminer/issues/39 @@ -534,6 +537,8 @@ private: sig->s = s; return 1; } + +#endif }; } // END namespace jwt