-
-
Notifications
You must be signed in to change notification settings - Fork 273
Closed
Description
What happened?
Using OpenSSL 3.0.1 with OPENSSL_NO_DEPRECATED
defined (as document here) results in compilation errors in jwt.h
.
How To Reproduce?
#define OPENSSL_NO_DEPRECATED
#include "jwt-cpp/jwt.h"
int main() { return 0; }
Version
0.6.0
What OS are you seeing the problem on?
Windows
What compiler are you seeing the problem on?
MSVC
Relevant log output
jwt.h(1410): error C2065: 'RSA_PKCS1_PSS_PADDING': undeclared identifier
jwt.h(1410): error C3861: 'EVP_PKEY_CTX_set_rsa_padding': identifier not found
jwt.h(1417): error C3861: 'EVP_PKEY_CTX_set_rsa_pss_saltlen': identifier not found
jwt.h(1464): error C2065: 'RSA_PKCS1_PSS_PADDING': undeclared identifier
jwt.h(1464): error C3861: 'EVP_PKEY_CTX_set_rsa_padding': identifier not found
jwt.h(1471): error C3861: 'EVP_PKEY_CTX_set_rsa_pss_saltlen': identifier not found
Code of Conduct
- I agree to follow this project's Code of Conduct