~ft/gemnine

d15bc694dff1248ac67740c75c299c80e0779e8a — Sigrid Haflínudóttir 2 months ago 3a91d0d
free certificate
1 files changed, 1 insertions(+), 0 deletions(-)

M req.c
M req.c => req.c +1 -0
@@ 39,6 39,7 @@ request(Url *url)
	if(th != nil){
		ok = okCertificate(conn.cert, conn.certlen, th);
		freeThumbprints(th);
		free(conn.cert);
		if(!ok){
			//fprint(2, "echo 'x509 %r server=%s' >>/sys/lib/ssl/gemini\n", r->url->server);
			//werrstr("untrusted cert");