mirror of
https://github.com/znc/znc.git
synced 2026-08-07 17:33:34 +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) {
|
||||
|
||||
+2
-2
@@ -66,7 +66,7 @@ case "${host_os}" in
|
||||
appendMod -L/usr/local/lib
|
||||
;;
|
||||
solaris*)
|
||||
appendLib -lsocket -lnsl
|
||||
appendLib -lsocket -lnsl -lresolv
|
||||
ISSUN=1
|
||||
;;
|
||||
cygwin)
|
||||
@@ -181,7 +181,7 @@ if test "$POLL" = "yes"; then
|
||||
fi
|
||||
|
||||
AC_CHECK_LIB( gnugetopt, getopt_long,)
|
||||
AC_CHECK_FUNCS([lstat getopt_long])
|
||||
AC_CHECK_FUNCS([lstat getopt_long getphassphrase])
|
||||
PKG_PROG_PKG_CONFIG()
|
||||
|
||||
# ----- Check for dlopen
|
||||
|
||||
Reference in New Issue
Block a user