diff options
Diffstat (limited to 'common/rfb/CSecurityPlain.cxx')
-rw-r--r-- | common/rfb/CSecurityPlain.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rfb/CSecurityPlain.cxx b/common/rfb/CSecurityPlain.cxx index 0320ce2d..8e383c31 100644 --- a/common/rfb/CSecurityPlain.cxx +++ b/common/rfb/CSecurityPlain.cxx @@ -33,7 +33,7 @@ bool CSecurityPlain::processMsg(CConnection* cc) CharArray username; CharArray password; - (CSecurity::upg)->getUserPasswd(&username.buf, &password.buf); + (CSecurity::upg)->getUserPasswd(cc->isSecure(), &username.buf, &password.buf); // Return the response to the server os->writeU32(strlen(username.buf)); |