JCE: fix Infer thread safety violation warning in WolfCryptSignature

pull/73/head
Chris Conlon 2024-04-09 16:19:57 -06:00
parent a9a3bc9b64
commit ee8a0b7819
1 changed files with 1 additions and 1 deletions

View File

@ -617,7 +617,7 @@ public class WolfCryptSignature extends SignatureSpi {
@SuppressWarnings("deprecation") @SuppressWarnings("deprecation")
@Override @Override
protected void finalize() throws Throwable { protected synchronized void finalize() throws Throwable {
try { try {
/* free native digest objects */ /* free native digest objects */
if (this.md5 != null) if (this.md5 != null)