You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2022/07/03 12:15:36 UTC
[commons-crypto] branch master updated: Show some additional info if loaded OK
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 472d16b Show some additional info if loaded OK
472d16b is described below
commit 472d16be356009022d2aeedc01d7bf63596bfc21
Author: Sebb <se...@apache.org>
AuthorDate: Sun Jul 3 13:15:29 2022 +0100
Show some additional info if loaded OK
---
src/main/java/org/apache/commons/crypto/jna/OpenSslJna.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/main/java/org/apache/commons/crypto/jna/OpenSslJna.java b/src/main/java/org/apache/commons/crypto/jna/OpenSslJna.java
index 9a26034..739f1d2 100644
--- a/src/main/java/org/apache/commons/crypto/jna/OpenSslJna.java
+++ b/src/main/java/org/apache/commons/crypto/jna/OpenSslJna.java
@@ -86,6 +86,9 @@ public final class OpenSslJna {
System.err.flush(); // helpful for stack traces to not mix in other output.
throw initialisationError; // propagate to make error obvious
}
+ for(int i = 0; i <= 5; i++) {
+ info("OpenSSLVersion(%d): %s", i, OpenSSLVersion(i));
+ }
}
/**