cpp-httplib/test
Daniel Ottiger 6e1879dfae
ssl-verify-host: fix verifying ip addresses containing zero's (#732)
* 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>
2020-11-02 20:27:34 -05:00
..
fuzzing Add cpp-httplib to oss-fuzz (#684) 2020-10-15 08:11:40 -04:00
gtest Fix #372 (#374) 2020-03-09 23:59:00 -04:00
proxy Improved Stream interface 2020-01-16 23:28:11 -05:00
www/dir Fix #335 2020-01-21 09:09:05 -05:00
www2/dir Fix #276 2019-11-29 17:07:51 -05:00
www3/dir Fix #276 2019-11-29 17:07:51 -05:00
ca-bundle.crt Wildcard support for verifying server certificate. fix #87 2019-05-07 21:40:03 -04:00
image.jpg Add a file for test 2017-12-29 22:34:59 -05:00
Makefile ssl-verify-host: fix verifying ip addresses containing zero's (#732) 2020-11-02 20:27:34 -05:00
Makefile.fuzz_test Add cpp-httplib to oss-fuzz (#684) 2020-10-15 08:11:40 -04:00
test.cc ssl-verify-host: fix verifying ip addresses containing zero's (#732) 2020-11-02 20:27:34 -05:00
test.conf ssl-verify-host: fix verifying ip addresses containing zero's (#732) 2020-11-02 20:27:34 -05:00
test.rootCA.conf setup test cases for client certificates 2019-06-07 01:23:22 +08:00
test.sln static file support. vc12 support. 2013-07-04 18:18:52 -04:00
test.vcxproj OpenSSL support on Visual Studio project 2020-07-30 17:19:12 -04:00
test_proxy.cc Fix #357 2020-07-29 23:12:05 -04:00