We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93e36ec commit 8f6af5eCopy full SHA for 8f6af5e
russh/src/kex/dh/mod.rs
@@ -34,15 +34,15 @@ pub struct DhGroup14Sha256KexType {}
34
35
impl KexType for DhGroup14Sha256KexType {
36
fn make(&self) -> Box<dyn KexAlgorithm + Send> {
37
- Box::new(DhGroupKex::<Sha256>::new(&DH_GROUP16)) as Box<dyn KexAlgorithm + Send>
+ Box::new(DhGroupKex::<Sha256>::new(&DH_GROUP14)) as Box<dyn KexAlgorithm + Send>
38
}
39
40
41
pub struct DhGroup16Sha512KexType {}
42
43
impl KexType for DhGroup16Sha512KexType {
44
45
- Box::new(DhGroupKex::<Sha512>::new(&DH_GROUP14)) as Box<dyn KexAlgorithm + Send>
+ Box::new(DhGroupKex::<Sha512>::new(&DH_GROUP16)) as Box<dyn KexAlgorithm + Send>
46
47
48
0 commit comments