• Martin Storsjö's avatar
    tls: Add options for verifying the peer certificate · 8b09d917
    Martin Storsjö authored
    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: 's avatarMartin Storsjö <martin@martin.st>
    8b09d917
Name
Last commit
Last update
..
doxy Loading commit data...
APIchanges Loading commit data...
Doxyfile Loading commit data...
Makefile Loading commit data...
RELEASE_NOTES Loading commit data...
avconv.texi Loading commit data...
avplay.texi Loading commit data...
avprobe.texi Loading commit data...
avserver.conf Loading commit data...
avserver.texi Loading commit data...
avtools-common-opts.texi Loading commit data...
avutil.txt Loading commit data...
bitstream_filters.texi Loading commit data...
build_system.txt Loading commit data...
demuxers.texi Loading commit data...
developer.texi Loading commit data...
doxy-wrapper.sh Loading commit data...
encoders.texi Loading commit data...
eval.texi Loading commit data...
faq.texi Loading commit data...
fate.texi Loading commit data...
filters.texi Loading commit data...
general.texi Loading commit data...
git-howto.texi Loading commit data...
git-howto.txt Loading commit data...
indevs.texi Loading commit data...
libavfilter.texi Loading commit data...
metadata.texi Loading commit data...
multithreading.txt Loading commit data...
muxers.texi Loading commit data...
nut.texi Loading commit data...
optimization.txt Loading commit data...
outdevs.texi Loading commit data...
platform.texi Loading commit data...
print_options.c Loading commit data...
protocols.texi Loading commit data...
rate_distortion.txt Loading commit data...
soc.txt Loading commit data...
swscale.txt Loading commit data...
t2h.init Loading commit data...
tablegen.txt Loading commit data...
texi2pod.pl Loading commit data...
viterbi.txt Loading commit data...