diff options
Diffstat (limited to 'test/parallel/test-tls-ocsp-callback.js')
-rw-r--r-- | test/parallel/test-tls-ocsp-callback.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-tls-ocsp-callback.js b/test/parallel/test-tls-ocsp-callback.js index e9443f4535..27afb3431a 100644 --- a/test/parallel/test-tls-ocsp-callback.js +++ b/test/parallel/test-tls-ocsp-callback.js @@ -68,7 +68,7 @@ function test(testOptions, cb) { // Just to check that async really works there setTimeout(function() { callback(null, - testOptions.response ? new Buffer(testOptions.response) : null); + testOptions.response ? Buffer.from(testOptions.response) : null); }, 100); }); server.listen(common.PORT, function() { |