diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2019-08-06 20:29:01 +0200 |
---|---|---|
committer | Jakub Jelen <jjelen@redhat.com> | 2019-08-08 09:30:03 +0200 |
commit | 92d3efec8184a22ed214ba95ba692041377bb93c (patch) | |
tree | 7d6dc1e15faf4b2ffd1c4894a40f5d2777dd18a4 /include/libssh | |
parent | 4e25ee6124f23a727a9e430b738fad3124ae8ecc (diff) | |
download | libssh-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/libssh')
-rw-r--r-- | include/libssh/dh.h | 2 |
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); |