Reputation: 33
I planned to use SSL_want
call before performing read or write operation so that we can avoid SSL errors like WANT_READ
or WANT_WRITE
. Please provide your suggestion.
Upvotes: 1
Views: 240
Reputation: 123320
It does not work like this. SSL_want just reads the current state, which is set by SSL_read and SSL_write. So using SSL_want without a preceding SSL_read or SSL_write makes no sense.
Upvotes: 3