passwords >8chars on Solaris, nitpicky solaris LIBS

This commit is contained in:
Paul Driver
2011-04-04 21:01:49 +01:00
committed by Kyle Fuller
parent 5cf5775bbc
commit 2c6a54b617
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -177,7 +177,11 @@ CString CUtils::SaltedSHA256Hash(const CString& sPass, const CString& sSalt) {
CString CUtils::GetPass(const CString& sPrompt) {
PrintPrompt(sPrompt);
#ifdef HAVE_GETPASSPHRASE
return getpassphrase("");
#else
return getpass("");
#endif
}
bool CUtils::GetBoolInput(const CString& sPrompt, bool bDefault) {