crypto: do not lowercase cipher/hash names
authorFedor Indutny <fedor.indutny@gmail.com>
Mon, 10 Mar 2014 10:59:18 +0000 (14:59 +0400)
committerFedor Indutny <fedor.indutny@gmail.com>
Mon, 10 Mar 2014 21:08:43 +0000 (01:08 +0400)
commitf0d870501ed240f550b2be6b0a138312fb6f4a30
tree264b9746f1a3bce666402e0f370a24ed08d26c78
parent6bd78fd7704a8a695fc76430b573bc482f42c320
crypto: do not lowercase cipher/hash names

`crypto.getCiphers()` and `crypto.getHashes()` should prefer lower-case
variants of names, but should not introduce them.

fix #7282
lib/crypto.js
test/simple/test-crypto.js