shithub: riscv

Download patch

ref: e548a86575fb1cde326f995c86d5ce04da7cd48c
parent: 7e4b6693938b65846df17f41d3b5efd8d5449670
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sat Jan 6 01:25:45 EST 2018

tlsclient: remove X509dump() call, writes to fd 1

--- a/sys/src/cmd/tlsclient.c
+++ b/sys/src/cmd/tlsclient.c
@@ -124,9 +124,6 @@
 	if(fd < 0)
 		sysfatal("tlsclient: %r");
 
-	if(debug)
-		X509dump(conn->cert, conn->certlen);
-
 	if(thumb){
 		if(!okCertificate(conn->cert, conn->certlen, thumb))
 			sysfatal("cert for %s not recognized: %r", servername ? servername : addr);