]> Cypherpunks repositories - gostls13.git/commit
crypto/x509: move debug prints to standard error
authorRuss Cox <rsc@golang.org>
Thu, 14 Mar 2019 00:06:37 +0000 (20:06 -0400)
committerFilippo Valsorda <filippo@golang.org>
Thu, 14 Mar 2019 02:49:02 +0000 (02:49 +0000)
commitf6695a15e15713cdac16978837d8b01ef4999279
tree04724a0ff5c34322a2a1e7b61295ca0b5fbfd339
parent1024b25d0c044484ed9288ac8f78bd9f5ebb5287
crypto/x509: move debug prints to standard error

Standard output is reserved for actual program output.
Debug print should be limited in general (here they are
enabled by an environment variable) and always go to
standard error.

Came across by accident.

Change-Id: I1490be71473520f049719572b3acaa0ea9f9e5c1
Reviewed-on: https://go-review.googlesource.com/c/go/+/167502
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
src/crypto/x509/root_darwin.go