From 45163766ad45329da292866e5e5cc87ee4a2082a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Jank=C5=AF?= Date: Mon, 1 May 2023 21:49:08 +0200 Subject: [PATCH] fix: update curve params after reset in ECExample This is necessary for proper functioning following this commit: https://github.com/dufkan/JCMathLib/commit/068de82 --- applet/src/main/java/opencrypto/jcmathlib/ECExample.java | 1 + 1 file changed, 1 insertion(+) diff --git a/applet/src/main/java/opencrypto/jcmathlib/ECExample.java b/applet/src/main/java/opencrypto/jcmathlib/ECExample.java index 16932b8b..1da11eec 100644 --- a/applet/src/main/java/opencrypto/jcmathlib/ECExample.java +++ b/applet/src/main/java/opencrypto/jcmathlib/ECExample.java @@ -44,6 +44,7 @@ public static void install(byte[] bArray, short bOffset, byte bLength) { public boolean select() { if (initialized) { rm.refreshAfterReset(); + curve.updateAfterReset(); } return true; }