Commit 999fbe9d authored by Brendan Ashworth's avatar Brendan Ashworth
Browse files

test: fix crypto-binary-default bad crypto check

This commit fixes a small bug introduced in 671fbd5a
that caused the test to not be run. crypto was properly
checked, but since tls was not imported, a TypeError
would be thrown in the `try {} catch {}` block and
falsely reported as no crypto.

This is now fixed.

PR-URL: https://github.com/iojs/io.js/pull/1141


Reviewed-By: default avatarJohan Bergström <bugs@bergstroem.nu>
parent 99c79f8d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment