Enabled ecdh-sha2-nistp521

This commit is contained in:
Jeroen van Erp
2015-11-03 13:47:04 +01:00
parent 7973cb1ff6
commit eece80cf48
2 changed files with 4 additions and 4 deletions

View File

@@ -102,8 +102,8 @@ public class DefaultConfig
new DHGexSHA1.Factory(),
new DHGexSHA256.Factory(),
new ECDHNistP.Factory256(),
new ECDHNistP.Factory384());
// TODO 521 fails sometimes with key verification errors new ECDHNistP.Factory521());
new ECDHNistP.Factory384(),
new ECDHNistP.Factory521());
else
setKeyExchangeFactories(new DHG1.Factory(), new DHGexSHA1.Factory());
}