From 6dd9303729b430af3eaf1014af5af99c9230e9c7 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sat, 30 Jun 2018 14:23:05 +0200 Subject: chachapoly: Use a function instead of an extern variable Signed-off-by: Andreas Schneider --- include/libssh/crypto.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/libssh/crypto.h b/include/libssh/crypto.h index d85b74da..490910fa 100644 --- a/include/libssh/crypto.h +++ b/include/libssh/crypto.h @@ -161,4 +161,6 @@ struct ssh_cipher_struct { void (*cleanup)(struct ssh_cipher_struct *cipher); }; +const struct ssh_cipher_struct *ssh_get_chacha20poly1305_cipher(void); + #endif /* _CRYPTO_H_ */ -- cgit v1.2.3