aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_cipher.erl
diff options
context:
space:
mode:
authorPéter Dimitrov <[email protected]>2019-04-17 14:24:08 +0200
committerPéter Dimitrov <[email protected]>2019-04-17 16:12:04 +0200
commit55ae19580db44190309a9ec2c88e6f33cf47bf31 (patch)
treed3e8144645f9a10ee42f2962e8c840eb69d67dd8 /lib/ssl/src/ssl_cipher.erl
parente60b4d15b6b2433a9d1607c1792079ed4e9bcbdf (diff)
downloadotp-55ae19580db44190309a9ec2c88e6f33cf47bf31.tar.gz
otp-55ae19580db44190309a9ec2c88e6f33cf47bf31.tar.bz2
otp-55ae19580db44190309a9ec2c88e6f33cf47bf31.zip
public_key: Accept digest types 'sha1' and 'sha'
Update type spec for digest_type() to reflect that functions with this type accept the (wrong) atom 'sha1'. The right behavior would be to only accept 'sha' as that is the only valid value of crypto:sha1(). Update rsa_digest_oid/1 and ecdsa_digest_oid/1 to accept digest 'sha'. Change-Id: I03219396b797435298e098e03b93286b352e07e2
Diffstat (limited to 'lib/ssl/src/ssl_cipher.erl')
0 files changed, 0 insertions, 0 deletions