cipher string patching
authorAaron Kaplan <aaron@lo-res.org>
Mon, 9 Dec 2013 22:32:25 +0000 (23:32 +0100)
committerAaron Kaplan <aaron@lo-res.org>
Mon, 9 Dec 2013 22:32:25 +0000 (23:32 +0100)
src/cipherstringpatch.sh [new file with mode: 0644]
src/perlify.pl

diff --git a/src/cipherstringpatch.sh b/src/cipherstringpatch.sh
new file mode 100644 (file)
index 0000000..7c69281
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+find . -name "*.tex" -exec "./perlify.pl  < \{\} > /tmp.foo; mv /tmp.foo \{\}" \;
index 429b512..c829954 100755 (executable)
@@ -2,10 +2,10 @@
 
 use strict;
 
-my cipherStrB='EDH+CAMELLIA:EDH+aRSA:EECDH+aRSA+AESGCM:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH:+CAMELLIA256:+AES256:+CAMELLIA128:+AES128:+SSLv3:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS:!RC4:!SEED:!ECDSA:CAMELLIA256-SHA:AES256-SHA:CAMELLIA128-SHA:AES128-SHA';
+my $cipherStrB='EDH+CAMELLIA:EDH+aRSA:EECDH+aRSA+AESGCM:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH:+CAMELLIA256:+AES256:+CAMELLIA128:+AES128:+SSLv3:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS:!RC4:!SEED:!ECDSA:CAMELLIA256-SHA:AES256-SHA:CAMELLIA128-SHA:AES128-SHA';
 
 
 while (<>) {
-       $_ =~ s/\@\@\@@CIPHERSTRINGB\@\@\@/$cipherStrB/g;
+       $_ =~ s/\@\@\@CIPHERSTRINGB\@\@\@/$cipherStrB/g;
        print ;
 }