summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/cipher.c
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2019-09-06 05:23:55 +0000
committerdjm <djm@openbsd.org>2019-09-06 05:23:55 +0000
commit1f96526fb0deff53898d266d4e2e399e64e301ef (patch)
tree97f4b05f2b48e51c0d3734edbd9464b42cb9ed34 /usr.bin/ssh/cipher.c
parentlots of things were relying on libcrypto headers to transitively (diff)
downloadwireguard-openbsd-1f96526fb0deff53898d266d4e2e399e64e301ef.tar.xz
wireguard-openbsd-1f96526fb0deff53898d266d4e2e399e64e301ef.zip
fixes for !WITH_OPENSSL compilation; ok dtucker@
Diffstat (limited to 'usr.bin/ssh/cipher.c')
-rw-r--r--usr.bin/ssh/cipher.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/ssh/cipher.c b/usr.bin/ssh/cipher.c
index 1d50c038e10..94ea6e744bc 100644
--- a/usr.bin/ssh/cipher.c
+++ b/usr.bin/ssh/cipher.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cipher.c,v 1.112 2018/09/13 02:08:33 djm Exp $ */
+/* $OpenBSD: cipher.c,v 1.113 2019/09/06 05:23:55 djm Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -47,6 +47,9 @@
#include "ssherr.h"
#include "digest.h"
+#ifndef WITH_OPENSSL
+#define EVP_CIPHER_CTX void
+#endif
struct sshcipher_ctx {
int plaintext;