From 056d36800b31924fd585c5332cf2e76993692ae7 Mon Sep 17 00:00:00 2001 From: jhb Date: Tue, 16 Jun 2009 15:30:10 +0000 Subject: Use the closefrom(2) system call. Reviewed by: des --- crypto/openssh/config.h | 2 +- crypto/openssh/ssh_namespace.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'crypto/openssh') diff --git a/crypto/openssh/config.h b/crypto/openssh/config.h index d465969..d07ee69 100644 --- a/crypto/openssh/config.h +++ b/crypto/openssh/config.h @@ -211,7 +211,7 @@ #define HAVE_CLOCK_T 1 /* Define to 1 if you have the `closefrom' function. */ -/* #undef HAVE_CLOSEFROM */ +#define HAVE_CLOSEFROM 1 /* Define if gai_strerror() returns const char * */ #define HAVE_CONST_GAI_STRERROR_PROTO 1 diff --git a/crypto/openssh/ssh_namespace.h b/crypto/openssh/ssh_namespace.h index a51e132..8fdf708 100644 --- a/crypto/openssh/ssh_namespace.h +++ b/crypto/openssh/ssh_namespace.h @@ -153,7 +153,6 @@ #define ciphers_valid ssh_ciphers_valid #define cleanhostname ssh_cleanhostname #define cleanup_exit ssh_cleanup_exit -#define closefrom ssh_closefrom #define colon ssh_colon #define compat_cipher_proposal ssh_compat_cipher_proposal #define compat_datafellows ssh_compat_datafellows -- cgit v1.1