- Numerous little Solaris fixes

This commit is contained in:
Damien Miller 1999-11-23 11:24:32 +11:00
parent 294df785b8
commit 3744b51918
5 changed files with 19 additions and 12 deletions

View File

@ -1,7 +1,8 @@
19991123
- Added SuSE package files from Chris Saia <csaia@wtower.com>
- Restructured package-related files under packages/
- Restructured package-related files under packages/*
- Added generic PAM config
- Numerous little Solaris fixes
19991122
- Make <enter> close gnome-ssh-askpass (Debian bug #50299)

View File

@ -68,17 +68,25 @@
/* ******************* Shouldn't need to edit below this line ************** */
# include <sys/types.h> /* For u_intXX_t */
# include <sys/socket.h> /* For SHUT_XXXX */
#include <sys/types.h> /* For u_intXX_t */
#include <sys/socket.h> /* For SHUT_XXXX */
#ifdef HAVE_PATHS_H
# include <paths.h> /* For _PATH_XXX */
#endif
#ifdef HAVE_UTMP_H
# include <utmp.h> /* For _PATH_XXX */
#endif
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h> /* For timersub */
#endif
#ifdef HAVE_MAILLOCK_H
#include <maillock.h>
#endif
#ifndef SHUT_RDWR
enum
{
@ -176,6 +184,10 @@ enum
# define _PATH_STDPATH "/usr/bin:/bin:/usr/sbin:/sbin:"
#endif
#ifndef _PATH_DEVNULL
# define _PATH_DEVNULL "/dev/null"
#endif
#ifndef _PATH_MAILDIR
# ifdef MAILDIR
# define _PATH_MAILDIR MAILDIR

View File

@ -55,7 +55,7 @@ AC_CHECK_LIB(dl, dlopen, , )
AC_CHECK_LIB(pam, pam_authenticate, , )
dnl Checks for header files.
AC_CHECK_HEADERS(pty.h endian.h paths.h lastlog.h shadow.h netgroup.h maillock.h sys/select.h sys/time.h)
AC_CHECK_HEADERS(pty.h endian.h paths.h lastlog.h shadow.h netgroup.h maillock.h utmp.h sys/select.h sys/time.h)
dnl Checks for library functions.
AC_CHECK_FUNCS(openpty strlcpy strlcat mkdtemp arc4random setproctitle setlogin setenv)

View File

@ -14,7 +14,7 @@ Adds an identity to the authentication server, or removes an identity.
*/
#include "includes.h"
RCSID("$Id: ssh-add.c,v 1.11 1999/11/22 07:11:23 damien Exp $");
RCSID("$Id: ssh-add.c,v 1.12 1999/11/23 00:24:32 damien Exp $");
#include "rsa.h"
#include "ssh.h"
@ -184,8 +184,6 @@ main(int argc, char **argv)
/* check if RSA support exists */
if (rsa_alive() == 0) {
extern char *__progname;
fprintf(stderr,
"%s: no RSA support in libssl and libcrypto. See ssl(8).\n",
__progname);

6
sshd.c
View File

@ -18,7 +18,7 @@ agent connections.
*/
#include "includes.h"
RCSID("$Id: sshd.c,v 1.28 1999/11/22 03:27:24 damien Exp $");
RCSID("$Id: sshd.c,v 1.29 1999/11/23 00:24:32 damien Exp $");
#include "xmalloc.h"
#include "rsa.h"
@ -32,10 +32,6 @@ RCSID("$Id: sshd.c,v 1.28 1999/11/22 03:27:24 damien Exp $");
#include "uidswap.h"
#include "compat.h"
#ifdef HAVE_MAILLOCK_H
# include <maillock.h>
#endif
#ifdef LIBWRAP
#include <tcpd.h>
#include <syslog.h>