There is a small regression in 5.1.0, that comes up in some edge cases that I might have been the only one using (and have fixed in my code). If
- you have a c module that is using openssl (like raw-ecdsa).
- if that module has an error (like in raw-ecdsa where it tries a couple different ways to parse a key in order).
- and does not clear the error stack
then due to the addition of this line running crypto.createHash with throw an error.