diff options
author | Nobutomo Nakano <Nobutomo.Nakano@Sun.COM> | 2009-05-11 12:11:53 -0700 |
---|---|---|
committer | Nobutomo Nakano <Nobutomo.Nakano@Sun.COM> | 2009-05-11 12:11:53 -0700 |
commit | 6f786ace10b9c0c7c5515e525fb660fbccfda6a3 (patch) | |
tree | a455902edb891743770d97ebb458821963392a26 /usr/src/cmd/ssh/libssh/common/kex.c | |
parent | 1c7408c96b4914bcab86c14af29f1af003397b16 (diff) | |
download | illumos-gate-6f786ace10b9c0c7c5515e525fb660fbccfda6a3.tar.gz |
6740240 ssh: password prompt is garbled on ja_JP.PCK/ja_JP.eucJP locale
Diffstat (limited to 'usr/src/cmd/ssh/libssh/common/kex.c')
-rw-r--r-- | usr/src/cmd/ssh/libssh/common/kex.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/src/cmd/ssh/libssh/common/kex.c b/usr/src/cmd/ssh/libssh/common/kex.c index 2df031eb33..0eb9e780fa 100644 --- a/usr/src/cmd/ssh/libssh/common/kex.c +++ b/usr/src/cmd/ssh/libssh/common/kex.c @@ -575,6 +575,8 @@ kex_choose_conf(Kex *kex) if (plangs && mlangs && *plangs && *mlangs) { char *locale; + g11n_test_langtag(plangs, 1); + choose_lang(&locale, plangs, mlangs); if (locale) { g11n_setlocale(LC_ALL, locale); @@ -603,6 +605,7 @@ kex_choose_conf(Kex *kex) if (lang) { session_lang = lang; debug("Negotiated lang: %s", lang); + g11n_test_langtag(lang, 0); } } } |