diff options
author | Dan Gudmundsson <[email protected]> | 2010-04-13 11:46:12 +0000 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2010-04-13 11:46:12 +0000 |
commit | 95ca193e2c03afcd7869cbd4e7924ee0c37217b9 (patch) | |
tree | b5188dc1dcb38b271953d1abe1044f36ea8c0412 /lib/ssl/src | |
parent | 7e378f520a6cda8ff7ce76b880727e1f4f610d52 (diff) | |
download | otp-95ca193e2c03afcd7869cbd4e7924ee0c37217b9.tar.gz otp-95ca193e2c03afcd7869cbd4e7924ee0c37217b9.tar.bz2 otp-95ca193e2c03afcd7869cbd4e7924ee0c37217b9.zip |
Fixed spelling error
Diffstat (limited to 'lib/ssl/src')
-rw-r--r-- | lib/ssl/src/ssl_handshake.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/ssl/src/ssl_handshake.erl b/lib/ssl/src/ssl_handshake.erl index ff78375b9f..02f689f251 100644 --- a/lib/ssl/src/ssl_handshake.erl +++ b/lib/ssl/src/ssl_handshake.erl @@ -455,7 +455,7 @@ get_tls_handshake_aux(<<?BYTE(Type), ?UINT24(Length), Body:Length/binary,Rest/binary>>, KeyAlg, Version, Acc) -> Raw = <<?BYTE(Type), ?UINT24(Length), Body/binary>>, - H = dec_hs(Type, Body, key_excahange_alg(KeyAlg), Version), + H = dec_hs(Type, Body, key_exchange_alg(KeyAlg), Version), get_tls_handshake_aux(Rest, KeyAlg, Version, [{H,Raw} | Acc]); get_tls_handshake_aux(Data, _KeyAlg, _Version, Acc) -> {lists:reverse(Acc), Data}. @@ -960,10 +960,10 @@ sig_alg(Alg) when Alg == dh_dss; Alg == dhe_dss -> sig_alg(_) -> ?NULL. -key_excahange_alg(rsa) -> +key_exchange_alg(rsa) -> ?KEY_EXCHANGE_RSA; -key_excahange_alg(Alg) when Alg == dhe_rsa; Alg == dhe_dss; +key_exchange_alg(Alg) when Alg == dhe_rsa; Alg == dhe_dss; Alg == dh_dss; Alg == dh_rsa; Alg == dh_anon -> ?KEY_EXCHANGE_DIFFIE_HELLMAN; -key_excahange_alg(_) -> +key_exchange_alg(_) -> ?NULL. |