]> granicus.if.org Git - libevent/commit
pull in wildcard matching code from cURL
authorPatrick Pelletier <code@funwithsoftware.org>
Thu, 28 Feb 2013 05:12:53 +0000 (21:12 -0800)
committerPatrick Pelletier <code@funwithsoftware.org>
Thu, 28 Feb 2013 05:22:03 +0000 (21:22 -0800)
commit4db9da6bbf8ade7b126840393173b8bd053b3389
tree31456eac09a251626debcd77cc40d32404bc4eea
parent6021cb5027e6e0d818671540fabec735008523d2
pull in wildcard matching code from cURL

Now, https-client accepts both:

https://ip.appspot.com/ (matching wildcard certificate)
https://github.com/     (matching non-wildcard certificate)

but still rejects

https://www.kegel.com/  (non-matching wildcard certificate)

which should match the behavior of these sites in a web browser.
sample/hostcheck.c [new file with mode: 0644]
sample/hostcheck.h [new file with mode: 0644]
sample/include.am
sample/openssl_hostname_validation.c