|
@ -1,3 +1,13 @@ |
|
|
|
|
|
// There is a bug with 'openssl s_server' which makes it not flush certain
|
|
|
|
|
|
// important events to stdout when done over a pipe. Therefore we skip this
|
|
|
|
|
|
// test for all openssl versions less than 1.0.0.
|
|
|
|
|
|
if (!process.versions.openssl || |
|
|
|
|
|
parseInt(process.versions.openssl.charCodeAt(0)) < 1) { |
|
|
|
|
|
console.error("Skipping due to old OpenSSL version."); |
|
|
|
|
|
process.exit(0); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var common = require('../common'); |
|
|
var common = require('../common'); |
|
|
var join = require('path').join; |
|
|
var join = require('path').join; |
|
|
var net = require('net'); |
|
|
var net = require('net'); |
|
|