Re: Patch to libcrypto's X509_check_(host|email) functions to behave like documented

2018-01-23 Thread Michael Gmelin
On Fri, 19 Jan 2018 16:00:55 +0100 Michael Gmelin wrote: > ... > According to the X509_check_host(3) > (src/lib/libcrypto/man/X509_check_host.3), "The namelen argument must > be the number of characters in the name string or zero, in which case > the length is calculated wi

Patch to libcrypto's X509_check_(host|email) functions to behave like documented

2018-01-19 Thread Michael Gmelin
h strlen for test.example.org results in 1 After the patch (as expected): Check host without strlen for test.example.org results in 1 Check host with strlen for test.example.org results in 1 Best, Michael [0]https://github.com/libressl-portable/openbsd/pull/87 -- Michael Gmelin diff --git a/s