summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-10-05 21:03:00 -0400
committerJune McEnroe <june@causal.agency>2021-10-05 21:04:41 -0400
commit7e8cc0d80f2c0532d997cb79f29fa3bedf39a2d4 (patch)
treee7be33afc09e5985bc152d2de3794b5bd72a8342
parentDefine unscoop formats separately (diff)
downloadlitterbox-7e8cc0d80f2c0532d997cb79f29fa3bedf39a2d4.tar.gz
litterbox-7e8cc0d80f2c0532d997cb79f29fa3bedf39a2d4.zip
Don't set "compat" ciphers
This hasn't been necessary to connect to anything reasonable in a
long time.
-rw-r--r--litterbox.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/litterbox.c b/litterbox.c
index 707a0a0..ebc9850 100644
--- a/litterbox.c
+++ b/litterbox.c
@@ -869,14 +869,10 @@ int main(int argc, char *argv[]) {
 	client = tls_client();
 	if (!client) errx(EX_SOFTWARE, "tls_client");
 
+	int error;
 	struct tls_config *config = tls_config_new();
 	if (!config) errx(EX_SOFTWARE, "tls_config_new");
 
-	int error = tls_config_set_ciphers(config, "compat");
-	if (error) {
-		errx(EX_SOFTWARE, "tls_config_set_ciphers: %s", tls_config_error(config));
-	}
-
 	if (insecure) {
 		tls_config_insecure_noverifycert(config);
 		tls_config_insecure_noverifyname(config);