createHash after createECDH with Oakley curves

version: 4.2.4

example failure:

const crypto = require('crypto');
crypto.createECDH('Oakley-EC2N-3'); // ok with 'secp256k1', also fails with Oakley-EC2N-4
crypto.createHash('sha256'); // also fails with 'md5', 'sha1'

unexpected output:

crypto.js:50
  this._handle = new binding.Hash(algorithm);
                 ^

Error: error:0306E06C:bignum routines:BN_mod_inverse:no inverse
    at Error (native)
    at new Hash (crypto.js:50:18)
    at Object.Hash (crypto.js:49:12)
    at Object.<anonymous> (example-fail.js:3:8)
    at Module._compile (module.js:435:26)
    at Object.Module._extensions..js (module.js:442:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Function.Module.runMain (module.js:467:10)
    at startup (node.js:136:18)