Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HPCC-12480 SSL_connect: incorrect use of return value in securesocket #6662

Merged
merged 1 commit into from Nov 24, 2014

Conversation

RussWhitehead
Copy link
Member

CSecureSocket::secure_connect() is incorrectly checking the return code from
SSL_connect() by ignoring that fact that a return of 0 is also an error. This
fix changes the check from 'if(err < 0)' to 'if(err <= 0)'

Signed-off-by: William Whitehead william.whitehead@lexisnexis.com

CSecureSocket::secure_connect() is incorrectly checking the return code from
SSL_connect() by ignoring that fact that a return of 0 is also an error. This
fix changes the check from 'if(err < 0)' to 'if(err <= 0)'

Signed-off-by: William Whitehead <william.whitehead@lexisnexis.com>
@hpcc-jirabot
Copy link

richardkchapman added a commit that referenced this pull request Nov 24, 2014
HPCC-12480 SSL_connect: incorrect use of return value in securesocket

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
@richardkchapman richardkchapman merged commit 3386b21 into hpcc-systems:master Nov 24, 2014
@RussWhitehead RussWhitehead deleted the secureSock branch November 24, 2014 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants