-
Bug
-
Resolution: Fixed
-
P3
-
None
-
b06
-
Verified
When using ECDH with KeyAgreement, if the application ignores that doPhase() threw an exception, generateSecret() will still make a key. The key will be invalid causing the calling application to fail.
In the code, doPhase() should not set the class variable for the public key on failure.
In the code, doPhase() should not set the class variable for the public key on failure.