Lagrange [work/v1.8]

Set list of used TLS ciphers

=> 0dded12bc785c3c27d09ec5b789bf956906cb164

diff --git a/src/main.c b/src/main.c
index 49487bbf..21c648ba 100644
--- a/src/main.c
+++ b/src/main.c
@@ -37,6 +37,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
 #endif
 
 #include 
+#include 
 #include 
 #include 
 #include 
@@ -58,6 +59,13 @@ int main(int argc, char **argv) {
     mpg123_init();
 #endif
     init_Foundation();
+    /* IssueID #122: Recommended set of TLS ciphers for Gemini */
+    setCiphers_TlsRequest("ECDHE-ECDSA-AES256-GCM-SHA384:"
+                          "ECDHE-ECDSA-CHACHA20-POLY1305:"
+                          "ECDHE-ECDSA-AES128-GCM-SHA256:"
+                          "ECDHE-RSA-AES256-GCM-SHA384:"
+                          "ECDHE-RSA-CHACHA20-POLY1305:"
+                          "ECDHE-RSA-AES128-GCM-SHA256");
     SDL_SetHint(SDL_HINT_VIDEO_ALLOW_SCREENSAVER, "1");
     SDL_SetHint(SDL_HINT_MAC_CTRL_CLICK_EMULATE_RIGHT_CLICK, "1");
     if (SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_TIMER)) {
Proxy Information
Original URL
gemini://git.skyjake.fi/lagrange/work%2Fv1.8/cdiff/0dded12bc785c3c27d09ec5b789bf956906cb164
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
53.127943 milliseconds
Gemini-to-HTML Time
0.164886 milliseconds

This content has been proxied by September (ba2dc).