aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh_message.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2014-01-17 15:57:21 +0100
committerHans Nilsson <[email protected]>2014-01-21 16:36:38 +0100
commitf4c9b4a4dddcf1f577df3f4bf58f2f7184cae6b0 (patch)
treed69a0f448f831ac73ba08d09dbfdaacbb4d99a0c /lib/ssh/src/ssh_message.erl
parentf836096cb383c6a3c5c91956ded5bd4e2772bcd2 (diff)
downloadotp-f4c9b4a4dddcf1f577df3f4bf58f2f7184cae6b0.tar.gz
otp-f4c9b4a4dddcf1f577df3f4bf58f2f7184cae6b0.tar.bz2
otp-f4c9b4a4dddcf1f577df3f4bf58f2f7184cae6b0.zip
ssh: Adds unicode
Diffstat (limited to 'lib/ssh/src/ssh_message.erl')
-rw-r--r--lib/ssh/src/ssh_message.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssh/src/ssh_message.erl b/lib/ssh/src/ssh_message.erl
index 7bd0375521..01a0988718 100644
--- a/lib/ssh/src/ssh_message.erl
+++ b/lib/ssh/src/ssh_message.erl
@@ -120,7 +120,7 @@ encode(#ssh_msg_userauth_request{
data = Data
}) ->
ssh_bits:encode([?SSH_MSG_USERAUTH_REQUEST, User, Service, Method, Data],
- [byte, string, string, string, '...']);
+ [byte, string_utf8, string, string, '...']);
encode(#ssh_msg_userauth_failure{
authentications = Auths,
partial_success = Bool
@@ -135,7 +135,7 @@ encode(#ssh_msg_userauth_banner{
language = Lang
}) ->
ssh_bits:encode([?SSH_MSG_USERAUTH_BANNER, Banner, Lang],
- [byte, string, string]);
+ [byte, string_utf8, string]);
encode(#ssh_msg_userauth_pk_ok{
algorithm_name = Alg,