aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2012-08-09 15:15:51 +0200
committerIngela Anderton Andin <[email protected]>2012-08-22 14:00:46 +0200
commit4f68e36b57bf7b2cc608bf1fb5d50486529bff10 (patch)
tree937e5288965e629e924a95f44625bc4cd7bbe976 /lib/ssl/src
parenta0bd4951be74a5db1c382a7e19432903db10e576 (diff)
downloadotp-4f68e36b57bf7b2cc608bf1fb5d50486529bff10.tar.gz
otp-4f68e36b57bf7b2cc608bf1fb5d50486529bff10.tar.bz2
otp-4f68e36b57bf7b2cc608bf1fb5d50486529bff10.zip
ssl: Add crypto support check (TLS 1.2 require sha256 support)
Diffstat (limited to 'lib/ssl/src')
-rw-r--r--lib/ssl/src/ssl_tls1.erl2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/ssl/src/ssl_tls1.erl b/lib/ssl/src/ssl_tls1.erl
index d62ea6e5a4..91b321bcd9 100644
--- a/lib/ssl/src/ssl_tls1.erl
+++ b/lib/ssl/src/ssl_tls1.erl
@@ -222,8 +222,6 @@ hmac_hash(?MD5, Key, Value) ->
crypto:md5_mac(Key, Value);
hmac_hash(?SHA, Key, Value) ->
crypto:sha_mac(Key, Value);
-hmac_hash(?MD5SHA, Key, Value) ->
- crypto:sha256_mac(Key, Value);
hmac_hash(?SHA256, Key, Value) ->
crypto:sha256_mac(Key, Value);
hmac_hash(?SHA384, Key, Value) ->