aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/wmadec.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-02-22 12:02:01 +0200
committerMartin Storsjö <martin@martin.st>2013-09-26 23:13:06 +0300
commit8b09d917e7dc7d7f2ace31419f802d4ff518236c (patch)
treebe032166d7fb810a00c2f44cdce4fe8485d5733a /libavcodec/wmadec.c
parent4370f65be8d714a0bc73047501027464aaa2466c (diff)
downloadffmpeg-8b09d917e7dc7d7f2ace31419f802d4ff518236c.tar.gz
tls: Add options for verifying the peer certificate
A file containing the trusted CA certificates needs to be supplied via the ca_file AVOption, unless the TLS library has got a system default file/database set up. This doesn't check the hostname of the peer certificate with openssl, which requires a non-trivial piece of code for manually matching the desired hostname to the string provided by the certificate, not provided as a library function. That is, with openssl, this only validates that the received certificate is signed with the right CA, but not that it is the actual server we think we're talking to. Verification is still disabled by default since we can't count on a proper CA database existing at all times. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/wmadec.c')
0 files changed, 0 insertions, 0 deletions