- (djm) [auth-pam.c defines.h] Move PAM related bits to auth-pam.c
This commit is contained in:
parent
9ab00b44c1
commit
2ab323e0bd
|
@ -85,6 +85,7 @@
|
||||||
- stevesk@cvs.openbsd.org 2006/08/04 20:46:05
|
- stevesk@cvs.openbsd.org 2006/08/04 20:46:05
|
||||||
[monitor.c session.c ssh-agent.c]
|
[monitor.c session.c ssh-agent.c]
|
||||||
spaces
|
spaces
|
||||||
|
- (djm) [auth-pam.c defines.h] Move PAM related bits to auth-pam.c
|
||||||
|
|
||||||
20060804
|
20060804
|
||||||
- (dtucker) [configure.ac] The "crippled AES" test does not work on recent
|
- (dtucker) [configure.ac] The "crippled AES" test does not work on recent
|
||||||
|
@ -5155,4 +5156,4 @@
|
||||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.4453 2006/08/05 02:40:11 djm Exp $
|
$Id: ChangeLog,v 1.4454 2006/08/05 02:43:32 djm Exp $
|
||||||
|
|
|
@ -71,6 +71,13 @@
|
||||||
# define sshpam_const const /* LinuxPAM, OpenPAM */
|
# define sshpam_const const /* LinuxPAM, OpenPAM */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Ambiguity in spec: is it an array of pointers or a pointer to an array? */
|
||||||
|
#ifdef PAM_SUN_CODEBASE
|
||||||
|
# define PAM_MSG_MEMBER(msg, n, member) ((*(msg))[(n)].member)
|
||||||
|
#else
|
||||||
|
# define PAM_MSG_MEMBER(msg, n, member) ((msg)[(n)]->member)
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "auth.h"
|
#include "auth.h"
|
||||||
#include "auth-pam.h"
|
#include "auth-pam.h"
|
||||||
#include "buffer.h"
|
#include "buffer.h"
|
||||||
|
|
15
defines.h
15
defines.h
|
@ -25,7 +25,7 @@
|
||||||
#ifndef _DEFINES_H
|
#ifndef _DEFINES_H
|
||||||
#define _DEFINES_H
|
#define _DEFINES_H
|
||||||
|
|
||||||
/* $Id: defines.h,v 1.134 2006/07/24 04:51:01 djm Exp $ */
|
/* $Id: defines.h,v 1.135 2006/08/05 02:43:33 djm Exp $ */
|
||||||
|
|
||||||
|
|
||||||
/* Constants */
|
/* Constants */
|
||||||
|
@ -528,19 +528,6 @@ struct winsize {
|
||||||
# define optarg BSDoptarg
|
# define optarg BSDoptarg
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* In older versions of libpam, pam_strerror takes a single argument */
|
|
||||||
#ifdef HAVE_OLD_PAM
|
|
||||||
# define PAM_STRERROR(a,b) pam_strerror((b))
|
|
||||||
#else
|
|
||||||
# define PAM_STRERROR(a,b) pam_strerror((a),(b))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef PAM_SUN_CODEBASE
|
|
||||||
# define PAM_MSG_MEMBER(msg, n, member) ((*(msg))[(n)].member)
|
|
||||||
#else
|
|
||||||
# define PAM_MSG_MEMBER(msg, n, member) ((msg)[(n)]->member)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(BROKEN_GETADDRINFO) && defined(HAVE_GETADDRINFO)
|
#if defined(BROKEN_GETADDRINFO) && defined(HAVE_GETADDRINFO)
|
||||||
# undef HAVE_GETADDRINFO
|
# undef HAVE_GETADDRINFO
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue