]> diplodocus.org Git - nmh/commitdiff
Print even more errors.
authorKen Hornstein <kenh@pobox.com>
Sat, 1 Oct 2016 01:24:43 +0000 (21:24 -0400)
committerKen Hornstein <kenh@pobox.com>
Sat, 1 Oct 2016 01:24:43 +0000 (21:24 -0400)
sbr/netsec.c

index 2f4cdcce5ac4465466ca08512b219ece664187bc..d76856e0116cd0203f6eb9b84b3f98a1763b96df 100644 (file)
@@ -590,6 +590,8 @@ retry:
                netsec_err(errstr, "TLS network read failed: %s",
                           ERR_error_string(errcode, NULL));
            }
+           if (nsc->ns_snoop)
+               ERR_print_errors_fp(stderr);
            return NOTOK;
        } else if (rc < 0) {
            /* Definitely an error */