1
0
Fork 0
mirror of https://git.sr.ht/~sircmpwn/gmni synced 2024-05-19 16:36:02 +02:00
Commit Graph

19 Commits

Author SHA1 Message Date
René Wagner fcc5c1d374 clear client certificate when none is required
Otherwise we end up using the client certificate
of a previous request and the current request will
fail with a SSL error 26.
2021-11-10 18:40:06 +01:00
Drew DeVault 1ed4f09532 Initial support for client side certificates
This is only supported with gmni for now - gmnlm support will come
later. A limitation with BearSSL prevents us from doing automated
certificate generation for now, unfortunately.
2021-03-05 08:29:02 -05:00
Drew DeVault 57064dd01f all: rewrite with BearSSL rather than OpenSSL 2021-03-04 10:59:37 -05:00
Joe Jenne 514cb37301 Fix const comparison Werror 2020-10-29 19:18:42 -04:00
Martijn Braam 122fb0a9fd Add static library for gmni 2020-10-24 13:41:07 -04:00
Drew DeVault b298fadb21 Fix segfault on connection refused 2020-09-26 16:59:06 -04:00
Charles E. Lehner 689fb8b470 Close fd after freeing SSL
BIO_free_all may trigger write to close the SSL connection
2020-09-24 11:45:59 -04:00
Eyal Sawady 174fbd5d09 Fix memory leaks 2020-09-23 12:55:16 -04:00
Eyal Sawady d6777ec278 gemini_response_finish: handle null ssl connection 2020-09-21 22:22:09 -04:00
Drew DeVault 02f6af6615 Implement TOFU 2020-09-21 16:06:43 -04:00
Drew DeVault 59d43726bb Fix segfault on name resolution errors 2020-09-20 22:20:38 -04:00
Drew DeVault 33495e8dd8 Detect attempts to use non-gemini URLs 2020-09-20 16:47:19 -04:00
Drew DeVault 7c453fb45f Implement SENSITIVE INPUT response 2020-09-20 16:41:05 -04:00
Drew DeVault 9551899298 Add response status enum 2020-09-20 16:32:01 -04:00
Drew DeVault eb6a4e9740 Set SOCK_STREAM regardless of hints 2020-09-20 15:14:04 -04:00
Drew DeVault eb01fde600 Implement -4 and -6
To force IPv4 and IPv6 respectively.
2020-09-20 14:21:36 -04:00
Drew DeVault 78eb57cad4 Implement input 2020-09-20 14:09:45 -04:00
Drew DeVault 9b1a618b42 Implement reading response body & meta 2020-09-20 13:30:28 -04:00
Drew DeVault abcb9caf86 Initial request riggings 2020-09-20 13:06:34 -04:00