]> git.sesse.net Git - ffmpeg/commit
tls_openssl: Improve quality of printed error messages, pass IO error codes through
authorMartin Storsjö <martin@martin.st>
Fri, 26 Mar 2021 13:39:53 +0000 (15:39 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 1 Apr 2021 06:05:10 +0000 (09:05 +0300)
commit84ad471fce1f6d6f785c1d0617254f1e7b3d95c6
tree46afa35ce49c69be0fadcf5afbf1d9683c75d64c
parenteac77f7cf076575af1a21b3fb61f45826436584e
tls_openssl: Improve quality of printed error messages, pass IO error codes through

Print every error in the stack, if more than one, and don't print
bogus errors if there's none logged within OpenSSL.

Retain the underlying IO error code, print an error message out of
it, and pass the error code on to the caller.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/tls_openssl.c