yhirose/cpp-httplib

Getting identifier not found auto server_cert = SSL_get1_peer_certificate(ssl2);

Stuggy opened this issue · 1 comments

Line 9166 of the header:
auto server_cert = SSL_get1_peer_certificate(ssl2);

Windows - VS 2022 - Defines used:
WIN32_LEAN_AND_MEAN
CPPHTTPLIB_OPENSSL_SUPPORT

Openssl from git pull and built from VS command line.

I can't work out why I'm getting this.

It looks like I have an older version of SSL that was installed with something else so there is a header conflict. I think the problem is on my side.