Files
jwt-cpp/tests/cmake/wolfssl-is-used.cpp
Chris Mc de457af919 🐺 Add WolfSSL support (#171)
* outline for wolfssl support

lots of missing symbols

* rm old libressl dockerfile

* ass wolfssl test + dry up workflows

with improved composite action having `use` keyword

* autoreconf

* brute force zap openssl headers

* Update action.yml

* try to access nested headers

* trying to log include headers

* more debug logs

* fix bad variable

* tweaks

* more features

* cleanup

* wolfssl is special like libressl

* test header order

* revert order

* trying wolfssl master

* adding wolfssl compatiblity macros

trying to get access to

1662b01157/wolfssl/ssl.h (L3960)

* trying no newline

to fix tests

* typo

* bad copy paste pt2

* not a new line problem

* typo

* workaround failing helper test

* update cmake test

list(TRANSFORM raised min

* test cmake install with wolfSSL

* add missing EOF

* more generic wolfssl install

since there is no release that works yet

* typo

* debug print

* add more checks

* force HAVE_ECC

* install master

* hunter does not support wolfssl

* pretty job name

* clean up

* Update README.md

* bump to latest master

* Update cmake.yml

* bump coveralls action

* switch badge name to sha

* Update jwt.yml

they published a bad tag =)
2021-09-21 21:30:54 -04:00

22 lines
355 B
C++

#if !__has_include(<wolfssl/ssl.h>)
#error "missing wolfSSL's SSL header!"
#endif
#ifndef OPENSSL_EXTRA
#error "missing wolfSSL's OPENSSL_EXTRA macro!"
#endif
#ifndef OPENSSL_ALL
#error "missing wolfSSL's OPENSSL_ALL macro!"
#endif
#include "jwt-cpp/jwt.h"
#include <wolfssl/ssl.h>
int main() {
wolfSSL_library_init();
jwt::date date;
return 0;
}