Mercurial > dropbear
comparison common-algo.c @ 1545:0b991dec7ab9 coverity
merge coverity
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 26 Feb 2018 22:43:12 +0800 |
parents | 049b28f4be4a |
children | d32bcb5c557d |
comparison
equal
deleted
inserted
replaced
1523:1d163552145f | 1545:0b991dec7ab9 |
---|---|
274 static const struct dropbear_kex kex_curve25519 = {DROPBEAR_KEX_CURVE25519, NULL, 0, NULL, &sha256_desc }; | 274 static const struct dropbear_kex kex_curve25519 = {DROPBEAR_KEX_CURVE25519, NULL, 0, NULL, &sha256_desc }; |
275 #endif | 275 #endif |
276 | 276 |
277 algo_type sshkex[] = { | 277 algo_type sshkex[] = { |
278 #if DROPBEAR_CURVE25519 | 278 #if DROPBEAR_CURVE25519 |
279 {"curve25519-sha256", 0, &kex_curve25519, 1, NULL}, | |
279 {"[email protected]", 0, &kex_curve25519, 1, NULL}, | 280 {"[email protected]", 0, &kex_curve25519, 1, NULL}, |
280 #endif | 281 #endif |
281 #if DROPBEAR_ECDH | 282 #if DROPBEAR_ECDH |
282 #if DROPBEAR_ECC_521 | 283 #if DROPBEAR_ECC_521 |
283 {"ecdh-sha2-nistp521", 0, &kex_ecdh_nistp521, 1, NULL}, | 284 {"ecdh-sha2-nistp521", 0, &kex_ecdh_nistp521, 1, NULL}, |