Thalhammer / jwt-cpp

A header only library for creating and validating json web tokens in c++
https://thalhammer.github.io/jwt-cpp/
MIT License
886 stars 241 forks source link

Fix build with OPENSSL_NO_DEPRECATED #228

Closed janblome closed 2 years ago

janblome commented 2 years ago

Add missing include to fix build with OPENSSL_NO_DEPRECATED defined and adjust the deprecation test to set this define. Also remove some unused re-definitions of OpenSSL functions in OpenSSLErrorTest.cpp that use types that are not defined with OPENSSL_NO_DEPRECATED.

Fixes #223.