summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/crypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/isakmpd/crypto.h')
-rw-r--r--sbin/isakmpd/crypto.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/sbin/isakmpd/crypto.h b/sbin/isakmpd/crypto.h
index c15fcdd05b6..69fc36015df 100644
--- a/sbin/isakmpd/crypto.h
+++ b/sbin/isakmpd/crypto.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: crypto.h,v 1.5 2002/06/09 08:13:06 todd Exp $ */
+/* $OpenBSD: crypto.h,v 1.6 2002/08/23 18:17:17 ho Exp $ */
/* $EOM: crypto.h,v 1.12 2000/10/15 21:56:41 niklas Exp $ */
/*
@@ -37,6 +37,18 @@
#ifndef _CRYPTO_H_
#define _CRYPTO_H_
+#if defined (__APPLE__)
+
+#include <openssl/des.h>
+#ifdef USE_BLOWFISH
+#include <openssl/blowfish.h>
+#endif
+#ifdef USE_CAST
+#include <openssl/cast.h>
+#endif
+
+#else
+
#include <des.h>
#ifdef USE_BLOWFISH
#include <blf.h>
@@ -45,6 +57,8 @@
#include <cast.h>
#endif
+#endif /* __APPLE__ */
+
#define USE_32BIT
#if defined (USE_64BIT)