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 98e4c5d commit 15be35b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/org/jitsi/srtp/crypto/Aes.java
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ public static synchronized void setFactoryClassName(String name)
{
FACTORY_CLASS_NAME = name;
factoryClass = null;
synchronized (Aes.class) {
fastestFactories.clear();
}
}

private static abstract class BenchmarkOperation
Expand Down

0 comments on commit 15be35b

Please sign in to comment.