-
-
Notifications
You must be signed in to change notification settings - Fork 299
Open
Description
What's your question?
jwt-cpp doesn't handle the OpenSSL error after OpenSSL calls, is that intentional? Should consumer handle the OpenSSL error instead?
Additional Context
Several functions in jwt-cpp like ecdsa::verify() uses OpenSSL APIs. However the OpenSSL error(s) are not popped in case of failure. If caller/consumer doesn't explicitly handle/clear the OpenSSL error queue, then such error(s) will become stale.
I am wondering if this is done intentionally, that the caller should be responsible of handling any OpenSSL error that could be rasied within the jwt-cpp? Thanks.