-
Notifications
You must be signed in to change notification settings - Fork 282
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't throw when resetting an uninitialised Mac. (#1178)
Turns out Android, SunJCE and BC all allow this and the javadoc has nothing to say on the subject. Caught this as a side effect of an unrelated Android test, so added an explicit check in our own ServiceTester test which runs against all installed Providers. Added a new field to track initialized state because if the native context ever becomes null after that (e.g. concurrency bug) that's still an error.
- Loading branch information
Showing
2 changed files
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters