mirror of
https://github.com/allankoechke/jwt-cpp.git
synced 2026-11-30 10:18:40 +00:00
* Fix build and tests for wolfSSL Signed-off-by: Juliusz Sosinowicz <juliusz@wolfssl.com> * Remove unnecessary symbols * Don't fail fast on wolfSSL actions * Include wolfssl/options.h explicitly * Fix old wolfSSL failures * remove unused EVP_PKEY_get1_RSA this is deprecated with 3.0 * code review comments * Apply suggestions from code review * rm extra headers? * fix cmake test use the new macro that was required * linter * fix unused warning fail_HMAC * reenable fail fast * fix spelling --------- Signed-off-by: Juliusz Sosinowicz <juliusz@wolfssl.com> Co-authored-by: Chris Mc <prince.chrismc@gmail.com>
19 lines
343 B
C++
19 lines
343 B
C++
#if !__has_include(<wolfssl/ssl.h>)
|
|
#error "missing wolfSSL's SSL header!"
|
|
#endif
|
|
|
|
// See https://github.com/Thalhammer/jwt-cpp/pull/352
|
|
#ifndef EXTERNAL_OPTS_OPENVPN
|
|
#error "missing wolfSSL's OPENSSL_EXTRA macro!"
|
|
#endif
|
|
|
|
#include "jwt-cpp/jwt.h"
|
|
|
|
#include <wolfssl/ssl.h>
|
|
|
|
int main() {
|
|
wolfSSL_library_init();
|
|
jwt::date date;
|
|
return 0;
|
|
}
|