summaryrefslogtreecommitdiffstats
path: root/auth-rsa.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 /auth-rsa.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 'auth-rsa.c')
-rw-r--r--auth-rsa.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/auth-rsa.c b/auth-rsa.c
index 8de86d2d..076f8a3e 100644
--- a/auth-rsa.c
+++ b/auth-rsa.c
@@ -15,8 +15,9 @@ validity of the host key.
*/
+#include "config.h"
#include "includes.h"
-RCSID("$Id: auth-rsa.c,v 1.1 1999/10/27 03:42:43 damien Exp $");
+RCSID("$Id: auth-rsa.c,v 1.2 1999/10/28 03:25:17 damien Exp $");
#include "rsa.h"
#include "packet.h"
@@ -25,8 +26,14 @@ RCSID("$Id: auth-rsa.c,v 1.1 1999/10/27 03:42:43 damien Exp $");
#include "mpaux.h"
#include "uidswap.h"
+#ifdef HAVE_OPENSSL
#include <openssl/rsa.h>
#include <openssl/md5.h>
+#endif
+#ifdef HAVE_SSL
+#include <ssl/rsa.h>
+#include <ssl/md5.h>
+#endif
/* Flags that may be set in authorized_keys options. */
extern int no_port_forwarding_flag;