diff options
Diffstat (limited to 'common/rfb/Password.cxx')
-rw-r--r-- | common/rfb/Password.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/common/rfb/Password.cxx b/common/rfb/Password.cxx index 9127862d..240c9d4f 100644 --- a/common/rfb/Password.cxx +++ b/common/rfb/Password.cxx @@ -38,6 +38,9 @@ PlainPasswd::PlainPasswd() {} PlainPasswd::PlainPasswd(char* pwd) : CharArray(pwd) { } +PlainPasswd::PlainPasswd(int len) : CharArray(len) { +} + PlainPasswd::PlainPasswd(const ObfuscatedPasswd& obfPwd) : CharArray(9) { if (obfPwd.length < 8) throw rdr::Exception("bad obfuscated password length"); |