test: add hasFipsCrypto to test/common.js
authorStefan Budeanu <stefan@budeanu.com>
Thu, 12 Nov 2015 22:28:04 +0000 (17:28 -0500)
committerJames M Snell <jasnell@gmail.com>
Wed, 23 Dec 2015 16:38:33 +0000 (08:38 -0800)
commit0aa341b7c98887b1f03199f5c3b780bed126b614
tree32135c59a29e910ce3e1bde98581a07de40eeb97
parentb44dacc41ec01fc81981eda8c54641ecee9e554b
test: add hasFipsCrypto to test/common.js

Utility function for tests to check if OpenSSL is using
a FIPS verified cryptographic provider.

PR-URL: https://github.com/nodejs/node/pull/3756
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: Shigeki Ohtsu <ohtsu@iij.ad.jp>
Reviewed-By: James M Snell <jasnell@gmail.com>
test/common.js