From 92d3efec8184a22ed214ba95ba692041377bb93c Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 6 Aug 2019 20:29:01 +0200 Subject: dh: Add ssh_dh_debug_crypto() We should call it where we have access to the crypto structure. Pair-Programmed-With: Jakub Jelen Signed-off-by: Jakub Jelen Signed-off-by: Andreas Schneider Reviewed-by: Jakub Jelen --- include/libssh/dh.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/libssh') diff --git a/include/libssh/dh.h b/include/libssh/dh.h index 48d8c46a..390b30da 100644 --- a/include/libssh/dh.h +++ b/include/libssh/dh.h @@ -48,6 +48,8 @@ int ssh_dh_keypair_set_keys(struct dh_ctx *ctx, int peer, int ssh_dh_compute_shared_secret(struct dh_ctx *ctx, int local, int remote, bignum *dest); +void ssh_dh_debug_crypto(struct ssh_crypto_struct *c); + /* common functions */ int ssh_dh_init(void); void ssh_dh_finalize(void); -- cgit v1.2.3