- 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)
diff --git a/authfd.c b/authfd.c
index 07893ca..d1db95b 100644
--- a/authfd.c
+++ b/authfd.c
@@ -13,8 +13,9 @@
*/
+#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 @@
#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. */