summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
15036dd)
to ERR_get_error(), so use a different function to get the error.
netsec_err(errstr, "TLS peer closed remote connection");
} else {
netsec_err(errstr, "TLS network read failed: %s",
netsec_err(errstr, "TLS peer closed remote connection");
} else {
netsec_err(errstr, "TLS network read failed: %s",
- ERR_error_string(errcode, NULL));
+ ERR_error_string(ERR_peek_last_error(), NULL));
}
if (nsc->ns_snoop)
ERR_print_errors_fp(stderr);
}
if (nsc->ns_snoop)
ERR_print_errors_fp(stderr);