Skip to content

Commit

Permalink
allow to change AES factory after init
Browse files Browse the repository at this point in the history
  • Loading branch information
f.bobin committed Sep 3, 2024
1 parent 15be35b commit d3518c1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/java/org/jitsi/srtp/crypto/Aes.java
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,8 @@ public static synchronized void setFactoryClassName(String name)
{
FACTORY_CLASS_NAME = name;
factoryClass = null;
synchronized (Aes.class) {
fastestFactories.clear();
}
fastestFactories.clear();
factories = null;
}

private static abstract class BenchmarkOperation
Expand Down

0 comments on commit d3518c1

Please sign in to comment.