Fixups in libssl test harness
[openssl.git] / util / TLSProxy / Proxy.pm
index c033c29dd7da661d9329702b486968159fea021f..571ab10e83e89b747dca032b00f64cc292b76b47 100644 (file)
@@ -142,7 +142,8 @@ sub start
     my $oldstdout;
 
     if(!$self->debug) {
-        $oldstdout = select(File::Spec->devnull());
+        open DEVNULL, ">", File::Spec->devnull();
+        $oldstdout = select(DEVNULL);
     }
 
     # Create the Proxy socket