Skip to content

Commit

Permalink
fix: move public.pfx to correct subdirectory
Browse files Browse the repository at this point in the history
Signed-off-by: Edward Wertz <edward@swirldslabs.com>
  • Loading branch information
edward-swirldslabs committed Nov 5, 2024
1 parent 828edeb commit 5ec017b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,8 @@ public EnhancedKeyStoreLoader scan() throws KeyLoadingException, KeyStoreExcepti
}

/**
* Iterates over the local nodes and creates the agreement key and certificate for each. This
* method should be called after {@link #scan()} and before {@link #verify()}.
* Iterates over the local nodes and creates the agreement key and certificate for each. This method should be
* called after {@link #scan()} and before {@link #verify()}.
*
* @return this {@link EnhancedKeyStoreLoader} instance.
* @throws NoSuchAlgorithmException if the algorithm required to generate the key pair is not available.
Expand Down Expand Up @@ -1476,7 +1476,7 @@ private void cleanupByMovingPfxFilesToSubDirectory() throws KeyStoreException, K
if (sPublicPfx.exists()
&& sPublicPfx.isFile()
&& !sPublicPfx.renameTo(
pfxArchiveDirectory.resolve(sPublicPfx.getName()).toFile())) {
pfxDateDirectory.resolve(sPublicPfx.getName()).toFile())) {
cleanupErrorCount.incrementAndGet();
}
if (cleanupErrorCount.get() > 0) {
Expand Down

0 comments on commit 5ec017b

Please sign in to comment.