]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Tor: Use crypto hardware acceleration if available
authorPeter Müller <peter.mueller@ipfire.org>
Sat, 25 Sep 2021 07:08:22 +0000 (09:08 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Fri, 22 Oct 2021 10:20:52 +0000 (10:20 +0000)
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
html/cgi-bin/tor.cgi

index ce579aec1146cfc565dbe36fbebcde93ba3a6211..2b0d93336488a5226eebeced0f93e1e738dd8272 100644 (file)
@@ -731,6 +731,7 @@ sub BuildConfiguration() {
 
        # Global settings.
        print FILE "Sandbox 1\n";
+       print FILE "HardwareAccel 1\n";
        print FILE "ControlPort $TOR_CONTROL_PORT\n";
 
        if ($settings{'TOR_ENABLED'} eq 'on') {