aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDmitriy Kuznetsov <dk@yandex.ru>2012-09-04 16:16:15 +0200
committerAndreas Schneider <asn@cryptomilk.org>2012-09-04 16:17:46 +0200
commite689375e452fc6b3e1fd31b0e9819d1600bd7704 (patch)
tree7b8e44183ce1745d33eabc991b3f1d248bf6052a /include
parent977951e96afd07705d9d88f733c7224810325da1 (diff)
downloadlibssh-e689375e452fc6b3e1fd31b0e9819d1600bd7704.tar.gz
libssh-e689375e452fc6b3e1fd31b0e9819d1600bd7704.tar.xz
libssh-e689375e452fc6b3e1fd31b0e9819d1600bd7704.zip
dh: Add support for diffie-hellman-group14-sha1.
Diffstat (limited to 'include')
-rw-r--r--include/libssh/crypto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/crypto.h b/include/libssh/crypto.h
index 498835e2..388a52b8 100644
--- a/include/libssh/crypto.h
+++ b/include/libssh/crypto.h
@@ -49,6 +49,8 @@
enum ssh_key_exchange_e {
/* diffie-hellman-group1-sha1 */
SSH_KEX_DH_GROUP1_SHA1=1,
+ /* diffie-hellman-group14-sha1 */
+ SSH_KEX_DH_GROUP14_SHA1,
/* ecdh-sha2-nistp256 */
SSH_KEX_ECDH_SHA2_NISTP256
};