Skip to content

Commit

Permalink
add mainInternal to EncryptionTool
Browse files Browse the repository at this point in the history
  • Loading branch information
krasinski committed Aug 14, 2024
1 parent 6113424 commit 9a8df8d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions h2o-core/src/main/java/water/tools/EncryptionTool.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ public void encrypt(File input, File output) throws IOException, GeneralSecurity
}

public static void main(String[] args) throws GeneralSecurityException, IOException {
mainInternal(args);
}
public static void mainInternal(String[] args) throws GeneralSecurityException, IOException {
EncryptionTool et = new EncryptionTool();
et._keystore_file = new File(args[0]);
et._keystore_type = args[1];
Expand Down

0 comments on commit 9a8df8d

Please sign in to comment.