Re: DTLSv1_listen Nonblock IO failure not returning SSL_ERROR_WANT_READ

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 06/03/2019 10:51, Raja Ashok wrote:
> Hi,
> 
> When Nonblock IO failure happens on DTLSv1_listen() its returning 0. But
> SSL_get_error() is not returning SSL_ERROR_WANT_READ. Instead it
> returns SSL_ERROR_SYSCALL. 
> 
> Can someone tell its intentionally kept this behaviour ?

You are not supposed to call SSL_get_error() after DTLSv1_listen().

See the DTLSv1_listen() documentation here:

https://www.openssl.org/docs/man1.1.1/man3/DTLSv1_listen.html

Matt




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux