diff options
author | djm@openbsd.org <djm@openbsd.org> | 2019-09-06 05:23:55 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-09-06 17:54:21 +1000 |
commit | 670104b923dd97b1c06c0659aef7c3e52af571b2 (patch) | |
tree | 28f189b92f2b56d071535b13e969050c7465fc58 /cipher.c | |
parent | be02d7cbde3d211ec2ed2320a1f7d86b2339d758 (diff) |
upstream: fixes for !WITH_OPENSSL compilation; ok dtucker@
OpenBSD-Commit-ID: 7fd68eaa9e0f7482b5d4c7e8d740aed4770a839f
Diffstat (limited to 'cipher.c')
-rw-r--r-- | cipher.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cipher.c,v 1.111 2018/02/23 15:58:37 markus Exp $ */ | 1 | /* $OpenBSD: cipher.c,v 1.113 2019/09/06 05:23:55 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -51,6 +51,9 @@ | |||
51 | 51 | ||
52 | #include "openbsd-compat/openssl-compat.h" | 52 | #include "openbsd-compat/openssl-compat.h" |
53 | 53 | ||
54 | #ifndef WITH_OPENSSL | ||
55 | #define EVP_CIPHER_CTX void | ||
56 | #endif | ||
54 | 57 | ||
55 | struct sshcipher_ctx { | 58 | struct sshcipher_ctx { |
56 | int plaintext; | 59 | int plaintext; |