author | Enrico Perla <enrico.perla@oracle.com> |
Fri, 04 Nov 2016 05:32:50 -0700 | |
changeset 7245 | 934578b959f0 |
parent 5923 | 125ce0e23ed8 |
permissions | -rw-r--r-- |
--- p7zip_15.14.1/CPP/7zip/UI/Console/UserInputUtils.cpp Fri Jun 19 09:25:18 2015 +++ p7zip_15.14.1/CPP/7zip/UI/Console/UserInputUtils.cpp Tue Apr 19 13:43:59 2016 @@ -89,12 +89,12 @@ outStream->Flush(); } #ifdef ENV_HAVE_GETPASS - AString oemPassword = getpass(""); + AString oemPassword = getpassphrase(""); if ( (verify) && (outStream) ) { (*outStream) << "Verify password (will not be echoed) :"; outStream->Flush(); - AString oemPassword2 = getpass(""); + AString oemPassword2 = getpassphrase(""); if (oemPassword != oemPassword2) throw "password verification failed"; } return MultiByteToUnicodeString(oemPassword, CP_OEMCP);