mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-01-09 19:57:57 +01:00
Document planned removal of BCUtil.constantTimeAreEquals(char[], char[])
This commit is contained in:
parent
c8a1ca5b29
commit
2065b4e4ed
1 changed files with 5 additions and 0 deletions
|
@ -15,6 +15,11 @@ public final class BCUtil {
|
||||||
* test will fail. For best results always pass the expected value
|
* test will fail. For best results always pass the expected value
|
||||||
* as the first parameter.
|
* as the first parameter.
|
||||||
*
|
*
|
||||||
|
* TODO: This method was proposed as a patch to BC:
|
||||||
|
* https://github.com/bcgit/bc-java/pull/1141
|
||||||
|
* Replace usage of this method with upstream eventually.
|
||||||
|
* Remove once BC 172 gets released, given it contains the patch.
|
||||||
|
*
|
||||||
* @param expected first array
|
* @param expected first array
|
||||||
* @param supplied second array
|
* @param supplied second array
|
||||||
* @return true if arrays equal, false otherwise.
|
* @return true if arrays equal, false otherwise.
|
||||||
|
|
Loading…
Reference in a new issue