[FFmpeg-devel] [PATCH] TLS OPENSSL SSL_get_error

Mirko Puliafito mirko.puliafito at gmail.com
Fri Aug 30 20:10:23 CEST 2013


Hi all,

what about the patch?

Mirko
Il giorno 29/ago/2013 17:10, "Mirko Puliafito" <mirko.puliafito at gmail.com>
ha scritto:

> Here it is:
>
> This tool is intended to help a human check/review patches. It is very far
> from
> being free of false positives and negatives, and its output are just hints
> of what
> may or may not be bad. When you use it and it misses something or detects
> something wrong, fix it and send a patch to the ffmpeg-devel mailing list.
> License: GPL, Author: Michael Niedermayer
>
> tabs
> 0001-Openssl-do_tls_poll-syscall-errors-handling.patch:26:+ if (ret ==
> SSL_ERROR_WANT_READ) {
> 0001-Openssl-do_tls_poll-syscall-errors-handling.patch:27:+ p.events =
> POLLIN;
> 0001-Openssl-do_tls_poll-syscall-errors-handling.patch:28:+ } else if
> (ret == SSL_ERROR_WANT_WRITE) {
> 0001-Openssl-do_tls_poll-syscall-errors-handling.patch:29:+ p.events =
> POLLOUT;
> 0001-Openssl-do_tls_poll-syscall-errors-handling.patch:30:+ } else {
> 0001-Openssl-do_tls_poll-syscall-errors-handling.patch:31:+ switch(ret){
> 0001-Openssl-do_tls_poll-syscall-errors-handling.patch:32:+ case
> SSL_ERROR_SYSCALL:
> 0001-Openssl-do_tls_poll-syscall-errors-handling.patch:33:+ return
> AVERROR(errno);
> 0001-Openssl-do_tls_poll-syscall-errors-handling.patch:34:+ default:
> 0001-Openssl-do_tls_poll-syscall-errors-handling.patch:35:+ av_log(h,
> AV_LOG_ERROR, "%s\n", ERR_error_string(ERR_get_error(), NULL));
> 0001-Openssl-do_tls_poll-syscall-errors-handling.patch:36:+ return
> AVERROR(EIO);
> 0001-Openssl-do_tls_poll-syscall-errors-handling.patch:37:+ }
> 0001-Openssl-do_tls_poll-syscall-errors-handling.patch:38:+ }
>
> Missing changelog entry (ignore if minor change)
>
>


More information about the ffmpeg-devel mailing list