This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git


The following commit(s) were added to refs/heads/master by this push:
     new d9edb0d6 Comments
d9edb0d6 is described below

commit d9edb0d6549645994024ce694612e218f8d1ffd0
Author: Sebb <s...@apache.org>
AuthorDate: Tue Oct 31 20:03:35 2023 +0000

    Comments
    
    [skip ci]
---
 src/main/java/org/apache/commons/crypto/Crypto.java     | 2 +-
 src/test/java/org/apache/commons/crypto/CryptoTest.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/commons/crypto/Crypto.java 
b/src/main/java/org/apache/commons/crypto/Crypto.java
index 15185384..4f02106b 100644
--- a/src/main/java/org/apache/commons/crypto/Crypto.java
+++ b/src/main/java/org/apache/commons/crypto/Crypto.java
@@ -175,7 +175,7 @@ public final class Crypto {
                 }
             }
             info("Additional OpenSSL_version(n) details:");
-            for (int j = 1; j < 6; j++) {
+            for (int j = 1; j < 6; j++) { // entry 0 is shown above
                 info("%s: %s", j, OpenSslInfoNative.OpenSSLVersion(j));
             }
         } else {
diff --git a/src/test/java/org/apache/commons/crypto/CryptoTest.java 
b/src/test/java/org/apache/commons/crypto/CryptoTest.java
index 72cfb453..42819883 100644
--- a/src/test/java/org/apache/commons/crypto/CryptoTest.java
+++ b/src/test/java/org/apache/commons/crypto/CryptoTest.java
@@ -54,7 +54,7 @@ public class CryptoTest {
 
     @Test
     public void testMain() throws Throwable {
-        // Check that Crypt.main will actually run tests
+        // Check that Crypto.main will actually run tests
         assertTrue(Crypto.isNativeCodeLoaded(), "Native code loaded OK");
         Crypto.main(new String[] { "-q" }); // output causes issues for testing
         assertTrue(Crypto.isNativeCodeLoaded(), "Completed OK");

Reply via email to