~sircmpwn/gmni-devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH gmni] clear client certificate when none is required

Details
Message ID
<20211110172045.9414-1-rwagner@rw-net.de>
DKIM signature
pass
Download raw message
Patch: +2 -0
Otherwise we end up using the client certificate
of a previous request and the current request will
fail with a SSL error 26.
---
closes ~sircmpwn/gmni#67

 src/client.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/client.c b/src/client.c
index 127a56c..0044122 100644
--- a/src/client.c
+++ b/src/client.c
@@ -187,6 +187,8 @@ gemini_request(const char *url, struct gemini_options *options,
				br_ecdsa_sign_asn1_get_default());
			break;
		}
	} else {
		br_ssl_client_set_client_certificate(resp->sc, NULL);
	}
	br_ssl_client_reset(resp->sc, host, 0);

-- 
2.33.1
Reply to thread Export thread (mbox)