summaryrefslogtreecommitdiffstats
path: root/authfd.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>1999-10-28 13:25:17 +1000
committerDamien Miller <djm@mindrot.org>1999-10-28 13:25:17 +1000
commit7f6ea0264d01aa40b20df8dc75141631479da054 (patch)
treea30aa324db2b41c64e1216ce73b7b7468e5ff706 /authfd.c
parent3d112efc672b877c74893229d3fd30f99489b9ff (diff)
- Integrated patch from Dan Brosemer <odin@linuxfreak.com>
- Build fixes - Autoconf - Change binary names to open* - Fixed autoconf script to detect PAM on RH6.1 - Added tests for libpwdb, and OpenBSD functions to autoconf (not used yet)
Diffstat (limited to 'authfd.c')
-rw-r--r--authfd.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/authfd.c b/authfd.c
index 07893caf..d1db95b9 100644
--- a/authfd.c
+++ b/authfd.c
@@ -13,8 +13,9 @@ Functions for connecting the local authentication agent.
*/
+#include "config.h"
#include "includes.h"
-RCSID("$Id: authfd.c,v 1.1 1999/10/27 03:42:43 damien Exp $");
+RCSID("$Id: authfd.c,v 1.2 1999/10/28 03:25:17 damien Exp $");
#include "ssh.h"
#include "rsa.h"
@@ -24,7 +25,12 @@ RCSID("$Id: authfd.c,v 1.1 1999/10/27 03:42:43 damien Exp $");
#include "xmalloc.h"
#include "getput.h"
+#ifdef HAVE_OPENSSL
#include <openssl/rsa.h>
+#endif
+#ifdef HAVE_SSL
+#include <ssl/rsa.h>
+#endif
/* Returns the number of the authentication fd, or -1 if there is none. */