From: Ralph Corderoy Date: Sat, 10 Jun 2017 17:32:08 +0000 (+0100) Subject: sbr/netsec.c: Report popped TLS error code, don't pop again. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/fc5b73a4b95c03c2c81b04ee8c819471b66de52d?hp=fc5b73a4b95c03c2c81b04ee8c819471b66de52d sbr/netsec.c: Report popped TLS error code, don't pop again. ERR_get_error() pops an error code so having tested that value it should also be the one that's reported in an error message, not another popped error code by calling ERR_get_error() again as this misleads as to the error's cause. ---