Commit cfd0dca9 authored by Ben Noordhuis's avatar Ben Noordhuis
Browse files

crypto: make getCiphers() return non-SSL ciphers

Commit f53441ab added crypto.getCiphers() as a function that returns the
names of SSL ciphers.

Commit 14a6c4ef then added crypto.getHashes(), which returns the names of
digest algorithms, but that creates a subtle inconsistency: the return
values of crypto.getHashes() are valid arguments to crypto.createHash()
but that is not true for crypto.getCiphers() - the returned values are
only valid for SSL/TLS functions.

Rectify that by adding tls.getCiphers() and making crypto.getCiphers()
return proper cipher names.
parent 488b74d6
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