aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2019-08-06 20:29:01 +0200
committerJakub Jelen <jjelen@redhat.com>2019-08-08 09:30:03 +0200
commit92d3efec8184a22ed214ba95ba692041377bb93c (patch)
tree7d6dc1e15faf4b2ffd1c4894a40f5d2777dd18a4 /include
parent4e25ee6124f23a727a9e430b738fad3124ae8ecc (diff)
downloadlibssh-92d3efec8184a22ed214ba95ba692041377bb93c.tar.gz
libssh-92d3efec8184a22ed214ba95ba692041377bb93c.tar.xz
libssh-92d3efec8184a22ed214ba95ba692041377bb93c.zip
dh: Add ssh_dh_debug_crypto()
We should call it where we have access to the crypto structure. Pair-Programmed-With: Jakub Jelen <jjelen@redhat.com> Signed-off-by: Jakub Jelen <jjelen@redhat.com> Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/libssh/dh.h2
1 files changed, 2 insertions, 0 deletions
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);