1/* 2 * config.h 3 * openssh 4 * 5 * Created by Timothy Weiand on 6/23/09. 6 * Copyright 2009 Apple Inc. All rights reserved. 7 * 8 */ 9 10 11#define SSH_RAND_HELPER "/usr/libexec/ssh-rand-helper" 12#define _PATH_PRIVSEP_CHROOT_DIR "/var/empty" 13#define _PATH_SSH_PIDDIR "/var/run" 14#define _PATH_SSH_KEY_SIGN "/usr/libexec/ssh-keysign" 15#define _PATH_SFTP_SERVER "/usr/libexec/sftp-server" 16#define _PATH_SSH_ASKPASS_DEFAULT "/usr/libexec/ssh-askpass" 17#define _PATH_SSH_PROGRAM "/usr/bin/ssh" 18#define SSHDIR "/etc" 19 20 21#define _UTMPX_COMPAT 22#define __APPLE_UTMPX__ 23#define __APPLE_LAUNCHD__ 24 25/* 26 * Define '__APPLE_CRYPTO__' to use libosslshim instead of libcrypto (OpenSSL). 27 * You must also change '-lcrypto' to '-losslshim in 28 * openssh.xcodeproj/project.pbxproj (XCode). 29 */ 30#ifndef FORCE_USE_OPENSSL 31#define __APPLE_CRYPTO__ 32#endif 33 34 35#if TARGET_OS_EMBEDDED 36# define _FORTIFY_SOURCE 2 37# define __APPLE_PRIVPTY__ 38# define cannot_audit 39#else 40# define __APPLE_SACL_DEPRECATED__ 41# define __APPLE_MEMBERSHIP__ 42# define __APPLE_CROSS_REALM__ 43# define __APPLE_XSAN__ 44# define __APPLE_KEYCHAIN__ 45# define __APPLE_SANDBOX_NAMED_EXTERNAL__ 46# define HAVE_CONFIG_H 47# define USE_CCAPI 48#endif 49 50#if TARGET_OS_EMBEDDED 51# include "config_embedded.h" 52#else 53# include "config_macosx.h" 54#endif 55