libavformat/tls_libtls: pass numeric hostnames to tls_connect_cbs()
authorStefan _ <sfan5@live.de>
Wed, 21 Feb 2018 17:57:00 +0000 (17:57 +0000)
committerJan Ekström <jeebjp@gmail.com>
Wed, 7 Mar 2018 00:06:09 +0000 (02:06 +0200)
commit7c39305a174899cbf924ed013c89715b8bddc442
treebc3b303c805c4d673df37a4dd5d30516bacb58c2
parent56912555bc1921420f5271159b0c20034ab4209e
libavformat/tls_libtls: pass numeric hostnames to tls_connect_cbs()

Numeric hosts in certificates are not very common, but supported by LibreSSL.
Forward the IP address to make verification work in this case.

Fixes ticket #7029
libavformat/tls_libtls.c