mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-02-16 22:06:55 +00:00
- Added better test for inline functions compiler support from
Darren_Hall@progressive.com
This commit is contained in:
parent
84093e9d74
commit
3b9d5e993a
@ -2,6 +2,8 @@
|
|||||||
- Integrated patchs from Juergen Keil <jk@tools.de>
|
- Integrated patchs from Juergen Keil <jk@tools.de>
|
||||||
- Avoid void* pointer arithmatic
|
- Avoid void* pointer arithmatic
|
||||||
- Use LDFLAGS correctly
|
- Use LDFLAGS correctly
|
||||||
|
- Added better test for inline functions compiler support from
|
||||||
|
Darren_Hall@progressive.com
|
||||||
|
|
||||||
19991214
|
19991214
|
||||||
- OpenBSD CVS Changes
|
- OpenBSD CVS Changes
|
||||||
|
12
acconfig.h
12
acconfig.h
@ -261,14 +261,8 @@ enum
|
|||||||
# define __P(x) x
|
# define __P(x) x
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#if defined(__GNUC__) && (__GNUC__ < 2)
|
||||||
# if __GNUC__ < 2
|
# define __attribute__(x)
|
||||||
# define INLINE inline
|
|
||||||
# define __attribute__(x)
|
|
||||||
# else
|
|
||||||
# define INLINE __inline__
|
|
||||||
# endif /* __GNUC__ < 2 */
|
|
||||||
#else
|
#else
|
||||||
# define __attribute__(x)
|
# define __attribute__(x)
|
||||||
# define INLINE
|
#endif /* defined(__GNUC__) && (__GNUC__ < 2) */
|
||||||
#endif /* __GNUC__ */
|
|
||||||
|
4
cipher.c
4
cipher.c
@ -12,7 +12,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
RCSID("$Id: cipher.c,v 1.10 1999/12/14 22:06:28 damien Exp $");
|
RCSID("$Id: cipher.c,v 1.11 1999/12/14 22:34:31 damien Exp $");
|
||||||
|
|
||||||
#include "ssh.h"
|
#include "ssh.h"
|
||||||
#include "cipher.h"
|
#include "cipher.h"
|
||||||
@ -111,7 +111,7 @@ swap_bytes(const unsigned char *src, unsigned char *dst_, int n)
|
|||||||
|
|
||||||
void (*cipher_attack_detected) (const char *fmt,...) = fatal;
|
void (*cipher_attack_detected) (const char *fmt,...) = fatal;
|
||||||
|
|
||||||
static INLINE void
|
static inline void
|
||||||
detect_cbc_attack(const unsigned char *src,
|
detect_cbc_attack(const unsigned char *src,
|
||||||
unsigned int len)
|
unsigned int len)
|
||||||
{
|
{
|
||||||
|
@ -8,7 +8,10 @@ AC_PROG_CPP
|
|||||||
AC_PROG_RANLIB
|
AC_PROG_RANLIB
|
||||||
AC_PROG_INSTALL
|
AC_PROG_INSTALL
|
||||||
AC_CHECK_PROG(AR, ar, ar)
|
AC_CHECK_PROG(AR, ar, ar)
|
||||||
|
|
||||||
|
dnl Checks for compiler characteristics
|
||||||
if test "$GCC" = "yes"; then CFLAGS="$CFLAGS -Wall"; fi
|
if test "$GCC" = "yes"; then CFLAGS="$CFLAGS -Wall"; fi
|
||||||
|
AC_C_INLINE
|
||||||
|
|
||||||
dnl Check for OpenSSL/SSLeay directories.
|
dnl Check for OpenSSL/SSLeay directories.
|
||||||
AC_MSG_CHECKING([for OpenSSL/SSLeay directory])
|
AC_MSG_CHECKING([for OpenSSL/SSLeay directory])
|
||||||
|
Loading…
Reference in New Issue
Block a user