diff options
author | Hans Nilsson <[email protected]> | 2017-11-15 14:29:47 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2017-11-15 14:33:43 +0100 |
commit | a36785f388f5545524832811b711748ca37b5209 (patch) | |
tree | 5c327222af4ab59bfa1745b6ef364bec7f7e4eed /lib/ssh/src | |
parent | 47a9dd48cbb087e1936bee4859a60256f77c5243 (diff) | |
download | otp-a36785f388f5545524832811b711748ca37b5209.tar.gz otp-a36785f388f5545524832811b711748ca37b5209.tar.bz2 otp-a36785f388f5545524832811b711748ca37b5209.zip |
ssh: Unicode encoding fix
Conflicts:
lib/ssh/src/ssh_connection_handler.erl
Diffstat (limited to 'lib/ssh/src')
-rw-r--r-- | lib/ssh/src/ssh.hrl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh/src/ssh.hrl b/lib/ssh/src/ssh.hrl index f88098819d..b27e91213d 100644 --- a/lib/ssh/src/ssh.hrl +++ b/lib/ssh/src/ssh.hrl @@ -60,8 +60,8 @@ -define(uint16(X), << ?UINT16(X) >> ). -define(uint32(X), << ?UINT32(X) >> ). -define(uint64(X), << ?UINT64(X) >> ). --define(string(X), << ?STRING(list_to_binary(X)) >> ). -define(string_utf8(X), << ?STRING(unicode:characters_to_binary(X)) >> ). +-define(string(X), ?string_utf8(X)). -define(binary(X), << ?STRING(X) >>). -define(SSH_CIPHER_NONE, 0). |