[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/3] Fix gcrypt build for src/wrapper.c


Hi,

Attached are some patches to fix the gcrypt build on master,
which is currently failing to compile src/wrapper.c with this
error:

    source/src/wrapper.c:123:13: error: ‘struct ssh_cipher_struct’ has no member named ‘ctx’

The problem here was introduced with 48e7b098f86207f8596651b5ba8242a3b834a868.
The patches fix this by moving the `ctx` member usage to
happen only under HAVE_LIBCRYPTO sections.

Jon Simons (3):
  wrapper: fix 4-space indentation in ssh_cipher_clear
  wrapper: fix gcrypt build error in ssh_cipher_clear
  wrapper: move EVP_CIPHER_CTX_free call to libcrypto.c

 src/libcrypto.c |  3 +++
 src/wrapper.c   | 26 +++++++++++---------------
 2 files changed, 14 insertions(+), 15 deletions(-)

--
2.13.2


Archive administrator: postmaster@lists.cynapses.org