You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
libssl-dev:amd64 1.1.0f-3+deb9u1
olaf@debian:~/josepp/build$ make
Scanning dependencies of target josepp-static
[ 9%] Building CXX object CMakeFiles/josepp-static.dir/src/tools.cpp.o
[ 18%] Building CXX object CMakeFiles/josepp-static.dir/src/claims.cpp.o
[ 27%] Building CXX object CMakeFiles/josepp-static.dir/src/crypto.cpp.o
[ 36%] Building CXX object CMakeFiles/josepp-static.dir/src/hmac.cpp.o
/home/olaf/josepp/src/hmac.cpp: In member function ‘virtual std::__cxx11::string jose::hmac::sign(const string&)’:
/home/olaf/josepp/src/hmac.cpp:68:11: error: aggregate ‘HMAC_CTX hmac’ has incomplete type and cannot be defined
HMAC_CTX hmac;
^~~~
/home/olaf/josepp/src/hmac.cpp:69:21: error: ‘HMAC_CTX_init’ was not declared in this scope
HMAC_CTX_init(&hmac);
^
/home/olaf/josepp/src/hmac.cpp:77:24: error: ‘HMAC_CTX_cleanup’ was not declared in this scope
HMAC_CTX_cleanup(&hmac);
https://www.openssl.org/docs/man1.1.0/crypto/HMAC_CTX_free.html
The text was updated successfully, but these errors were encountered: