mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 01:08:27 +00:00
![]() * ssl-verify-host: fix verifying ip addresses containing zero's If the subject alternate name contained an ip address with an zero (like 10.42.0.1) it could not successfully verify. It is because in c++ strings are null-terminated and therefore strlen(name) would return a wrong result. As I can not see why we can not trust the length returned by openssl, lets drop this check. * ssl-verify-host: add test case lets try to validate against 127.0.0.1 Co-authored-by: Daniel Ottiger <daniel.ottiger@ch.schindler.com> |
||
---|---|---|
.. | ||
fuzzing | ||
gtest | ||
proxy | ||
www/dir | ||
www2/dir | ||
www3/dir | ||
ca-bundle.crt | ||
image.jpg | ||
Makefile | ||
Makefile.fuzz_test | ||
test.cc | ||
test.conf | ||
test.rootCA.conf | ||
test.sln | ||
test.vcxproj | ||
test_proxy.cc |