From f71d2a5d44a942b0794d8574f84b311d82bf4e29 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Mon, 13 May 2002 15:14:08 +1000 Subject: [PATCH] - (djm) Bug #234: missing readpassphrase declaration and defines --- ChangeLog | 3 ++- configure.ac | 6 +++--- includes.h | 3 +++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4a9e013bd..78781bdce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ - (djm) Add --with-privsep-path configure option - (djm) Update RPM spec file: different superuser path, use /var/empty/sshd for privsep + - (djm) Bug #234: missing readpassphrase declaration and defines 20020511 - (tim) [configure.ac] applied a rework of djm's OpenSSL search cleanup patch. @@ -577,4 +578,4 @@ - (stevesk) entropy.c: typo in debug message - (djm) ssh-keygen -i needs seeded RNG; report from markus@ -$Id: ChangeLog,v 1.2112 2002/05/13 03:57:04 stevesk Exp $ +$Id: ChangeLog,v 1.2113 2002/05/13 05:14:08 djm Exp $ diff --git a/configure.ac b/configure.ac index 8adb3a179..511c06a81 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -# $Id: configure.ac,v 1.60 2002/05/13 04:41:31 djm Exp $ +# $Id: configure.ac,v 1.61 2002/05/13 05:14:08 djm Exp $ AC_INIT AC_CONFIG_SRCDIR([ssh.c]) @@ -349,7 +349,7 @@ AC_ARG_WITH(libs, AC_CHECK_HEADERS(bstring.h crypt.h endian.h floatingpoint.h \ getopt.h glob.h lastlog.h limits.h login.h \ login_cap.h maillock.h netdb.h netgroup.h \ - netinet/in_systm.h paths.h pty.h \ + netinet/in_systm.h paths.h pty.h readpassphrase.h \ rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \ strings.h sys/bitypes.h sys/bsdtty.h sys/cdefs.h \ sys/mman.h sys/select.h sys/stat.h \ @@ -1952,7 +1952,7 @@ fi # Whether to mess with the default path SERVER_PATH_MSG="(default)" AC_ARG_WITH(default-path, - [ --with-default-path=PATH Specify default \$PATH environment for server], + [ --with-default-path= Specify default \$PATH environment for server], [ if test "$USES_LOGIN_CONF" = "yes" ; then AC_MSG_WARN([ diff --git a/includes.h b/includes.h index a63e87243..e20d7a519 100644 --- a/includes.h +++ b/includes.h @@ -142,6 +142,9 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } #ifdef USE_PAM # include #endif +#ifdef HAVE_READPASSPHRASE_H +# include +#endif #include /* For OPENSSL_VERSION_NUMBER */