summaryrefslogtreecommitdiffstats
path: root/cipher.h
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2019-09-06 07:23:55 +0200
committerDamien Miller <djm@mindrot.org>2019-09-06 09:54:21 +0200
commit670104b923dd97b1c06c0659aef7c3e52af571b2 (patch)
tree28f189b92f2b56d071535b13e969050c7465fc58 /cipher.h
parentupstream: lots of things were relying on libcrypto headers to (diff)
downloadopenssh-670104b923dd97b1c06c0659aef7c3e52af571b2.tar.xz
openssh-670104b923dd97b1c06c0659aef7c3e52af571b2.zip
upstream: fixes for !WITH_OPENSSL compilation; ok dtucker@
OpenBSD-Commit-ID: 7fd68eaa9e0f7482b5d4c7e8d740aed4770a839f
Diffstat (limited to 'cipher.h')
-rw-r--r--cipher.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cipher.h b/cipher.h
index dc1571d2e..5843aab49 100644
--- a/cipher.h
+++ b/cipher.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cipher.h,v 1.52 2017/05/07 23:12:57 djm Exp $ */
+/* $OpenBSD: cipher.h,v 1.54 2019/09/06 05:23:55 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -38,7 +38,9 @@
#define CIPHER_H
#include <sys/types.h>
+#ifdef WITH_OPENSSL
#include <openssl/evp.h>
+#endif
#include "cipher-chachapoly.h"
#include "cipher-aesctr.h"