Unverified Commit f8944949 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

add tls-ciphers.patch

parent 91676a7a
Loading
Loading
Loading
Loading
+1 −0
Changes for doc/setup.md: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@ In the project root directory (where `cpanfile` resides, e.g., `/srv/www/travely

```
carton install --deployment
patch -p1 < doc/tls-ciphers.patch
```

Afterwards, either set `PERL5LIB=/srv/www/travelynx/local/lib/perl5` (or similar) before executing any travelynx commands (see configs in the examples directory), or wrap them with `carton exec`, e.g. `carton exec hypnotoad index.pl`

doc/tls-ciphers.patch

0 → 100644
+11 −0
Changes for doc/tls-ciphers.patch: 11 added lines, 0 removed lines.
Original line number Diff line number Diff line
--- a/local/lib/perl5/IO/Socket/SSL.pm
+++ b/local/lib/perl5/IO/Socket/SSL.pm
@@ -3373,7 +3373,7 @@
 	    ) || return IO::Socket::SSL->error("Failed to set SSL cipher list");
 	}
     }
-    if ( my $cl = $arg_hash->{SSL_ciphersuites} ) {
+    if ( my $cl = 'TLS_AES_256_GCM_SHA384' ) {
 	return IO::Socket::SSL->error("no support for SSL_ciphersuites in Net::SSLeay")
 	    if ! $can_ciphersuites;
 	for (keys %ctx) {