removed duplicate call to calcSecret.
@@ -223,7 +223,7 @@ protected static int getKeySize(String algDetails)
byte[] secret = calcSecret();
try
{
- return getSharedSecretBytes(calcSecret(), null, secret.length * 8);
+ return getSharedSecretBytes(secret, null, secret.length * 8);
}
catch (NoSuchAlgorithmException e)
{
