components/p7zip/patches/getpassphrase.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Mon, 11 Mar 2013 10:38:09 -0700
branchs11-update
changeset 2520 ceec631e74d1
parent 692 cc6e91029604
child 5923 125ce0e23ed8
permissions -rw-r--r--
Close of build 10.

--- p7zip_9.20.1/CPP/7zip/UI/Console/UserInputUtils.cpp.orig	2012-02-15 10:43:48.907800737 -0800
+++ p7zip_9.20.1/CPP/7zip/UI/Console/UserInputUtils.cpp	2012-02-15 10:44:21.754378258 -0800
@@ -78,12 +78,12 @@
 #ifdef ENV_HAVE_GETPASS
   (*outStream) << "\nEnter password (will not be echoed) :";
   outStream->Flush();
-  AString oemPassword = getpass("");
+  AString oemPassword = getpassphrase("");
   if (verify)
   {
     (*outStream) << "Verify password (will not be echoed) :";
   outStream->Flush();
-    AString oemPassword2 = getpass("");
+    AString oemPassword2 = getpassphrase("");
     if (oemPassword != oemPassword2) throw "password verification failed";
   }
 #else