Changeset 8b09d917 in ffmpeg

Timestamp:
Sep 26, 2013, 8:13:06 PM (11 years ago)
Author:
Martin Storsjö <martin@martin.st>
Branches:
master
Children:
5c53bf7a, e6e71fd7
Parents:
4370f65
git-author:
Martin Storsjö <martin@martin.st> (02/22/11 10:02:01)
git-committer:
Martin Storsjö <martin@martin.st> (09/26/13 20:13:06)
Message:

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>

(No files)

Note: See TracChangeset for help on using the changeset viewer.