]> git.kaiwu.me - nginx.git/commit
SSL: explicit handling of empty names.
authorMaxim Dounin <mdounin@mdounin.ru>
Wed, 23 Apr 2014 16:31:31 +0000 (20:31 +0400)
committerMaxim Dounin <mdounin@mdounin.ru>
Wed, 23 Apr 2014 16:31:31 +0000 (20:31 +0400)
commit6898a634d3cdd7df70bb8b112a74bfd98253c1f4
treeb5eae5356fab97bc526d62f6e365990f483cdcf7
parentc728709316d34735eb27875af0d8df889b145f45
SSL: explicit handling of empty names.

X509_check_host() can't handle non null-terminated names with zero length,
so make sure to fail before calling it.
src/event/ngx_event_openssl.c