mirror of
https://github.com/znc/znc.git
synced 2026-08-06 08:52:57 +02:00
passwords >8chars on Solaris, nitpicky solaris LIBS
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user