aboutsummaryrefslogtreecommitdiff
path: root/include/libssh
diff options
context:
space:
mode:
authorJakub Jelen <jjelen@redhat.com>2019-03-21 14:56:16 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-04-29 13:18:09 +0200
commit67beaf363fc16be235edf9cbf2f580f7906ef99c (patch)
tree4466d334e5420bb094a022b000b23e5b37779df0 /include/libssh
parent4012338862daf70a815e2970a1ff69844f842185 (diff)
downloadlibssh-67beaf363fc16be235edf9cbf2f580f7906ef99c.tar.gz
libssh-67beaf363fc16be235edf9cbf2f580f7906ef99c.tar.xz
libssh-67beaf363fc16be235edf9cbf2f580f7906ef99c.zip
dh-gex: Fall back to known primes when the moduli file is not readable
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/dh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/dh.h b/include/libssh/dh.h
index 0d6720ee..02c99760 100644
--- a/include/libssh/dh.h
+++ b/include/libssh/dh.h
@@ -67,5 +67,6 @@ int ssh_client_dh_init(ssh_session session);
void ssh_server_dh_init(ssh_session session);
#endif /* WITH_SERVER */
int ssh_server_dh_process_init(ssh_session session, ssh_buffer packet);
+int ssh_fallback_group(uint32_t pmax, bignum *p, bignum *g);
#endif /* DH_H_ */