Source code pulled from OpenBSD for LibreSSL - this includes most of the library and supporting code. The place to contribute to this code is via the OpenBSD CVS tree. Please mail patches to tech@openbsd.org, instead of submitting pull requests, since this tree is often rebased.
Replaced sk_GENERAL_NAME_free with sk_GENERAL_NAME_pop_free in tls_check_subject_altname to fix memory leak.
sk_GENERAL_NAME_free only frees the stack but not the content, sk_GENERAL_NAME_pop_free also frees the content.
Replaced sk_GENERAL_NAME_free with sk_GENERAL_NAME_pop_free in tls_check_subject_altname to fix memory leak. sk_GENERAL_NAME_free only frees the stack but not the content, sk_GENERAL_NAME_pop_free also frees the content.