summaryrefslogtreecommitdiff
path: root/server/zserver.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/zserver.h')
-rw-r--r--server/zserver.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/server/zserver.h b/server/zserver.h
index cceb270..ca60844 100644
--- a/server/zserver.h
+++ b/server/zserver.h
@@ -61,7 +61,12 @@ extern C_Block __Zephyr_session;
/* Current time as cached by main(); use instead of time(). */
#define NOW t_local.tv_sec
-#ifdef HAVE_KRB4
+#if defined(HAVE_OPENSSL) & !defined(HAVE_KRB4)
+#define OPENSSL_DES_LIBDES_COMPATIBILITY
+#include <openssl/des.h>
+#endif
+
+#if defined(HAVE_KRB4) || defined(HAVE_OPENSSL)
/* Kerberos shouldn't stick us with array types... */
typedef struct {
des_key_schedule s;