From a042e356844f5f8e9f956a601540010518032f34 Mon Sep 17 00:00:00 2001 From: Martin Paljak Date: Tue, 19 Nov 2024 10:05:32 +0200 Subject: [PATCH] Critical bug: mistake in expfile generation logic --- task/src/main/java/pro/javacard/ant/JCCap.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/task/src/main/java/pro/javacard/ant/JCCap.java b/task/src/main/java/pro/javacard/ant/JCCap.java index 6576f5c..f97c9ca 100644 --- a/task/src/main/java/pro/javacard/ant/JCCap.java +++ b/task/src/main/java/pro/javacard/ant/JCCap.java @@ -575,7 +575,7 @@ private void convert(Path applet_folder, List exps) { // determine output types String outputs = "CAP"; - if (output_exp != null || (raw_applets.size() > 1 && verify)) { + if (output_exp != null || (raw_applets.size() > 0 && verify)) { outputs += " EXP"; } if (output_jca != null) {