aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/crypto.h
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2016-11-05 16:54:02 +0100
committerAndreas Schneider <asn@cryptomilk.org>2016-11-07 11:46:47 +0100
commit5d2e9ee66efb6bae9941987cc09a98867ae9ba6d (patch)
tree3bd9711a38fff89c6d927af87f8b175936166b8c /include/libssh/crypto.h
parent607c671f67de2443e39ef571122c0c0e0d150e3a (diff)
downloadlibssh-5d2e9ee66efb6bae9941987cc09a98867ae9ba6d.tar.gz
libssh-5d2e9ee66efb6bae9941987cc09a98867ae9ba6d.tar.xz
libssh-5d2e9ee66efb6bae9941987cc09a98867ae9ba6d.zip
libcrypto: Use a pointer for EVP_CIPHER_CTX
This has been made opaque and it needs to be a pointer. This is for OpenSSL 1.1.0 support. Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh/crypto.h')
-rw-r--r--include/libssh/crypto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/crypto.h b/include/libssh/crypto.h
index 102c8d7e..4c79c8ca 100644
--- a/include/libssh/crypto.h
+++ b/include/libssh/crypto.h
@@ -130,7 +130,7 @@ struct ssh_cipher_struct {
struct ssh_3des_key_schedule *des3_key;
struct ssh_aes_key_schedule *aes_key;
const EVP_CIPHER *cipher;
- EVP_CIPHER_CTX ctx;
+ EVP_CIPHER_CTX *ctx;
#endif
unsigned int keysize; /* bytes of key used. != keylen */
/* sets the new key for immediate use */