Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Add call ERR_clear_error() before SSL_* calls #100

Closed
wants to merge 1 commit into from

Conversation

losipiuk
Copy link

@losipiuk losipiuk commented Jun 4, 2012

SSL_get_error function requires calling ERR_clear_error queue
before executing function which error code is to be determined.
Otherwise spurious error codes may be returned even for successful
operations.

http://www.openssl.org/docs/ssl/SSL_get_error.html

SSL_get_error function requires calling ERR_clear_error queue
before executing function which error code is to be determined.
Otherwise spurious error codes may be returned even for successful
operations.

http://www.openssl.org/docs/ssl/SSL_get_error.html
@edevil
Copy link

edevil commented Mar 6, 2013

I think I've been bitten by this bug. Is there a problem with the patch?

#130 is related.

@edevil edevil mentioned this pull request Mar 6, 2013
svpcom added a commit to svpcom/stud that referenced this pull request Feb 22, 2015
Merge remote-tracking branch 'source/pr/100'
@losipiuk losipiuk closed this Jun 8, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants