You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/12/18 16:03:34 UTC
[commons-crypto] branch master updated: Reuse own API
This is an automated email from the ASF dual-hosted git repository.
ggregory 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 13443b8 Reuse own API
13443b8 is described below
commit 13443b827b51cb6705e732c03e30f5c9dfb7d154
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Dec 18 11:03:30 2022 -0500
Reuse own API
---
src/main/java/org/apache/commons/crypto/jna/OpenSslJna.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
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 5cdb209..acce0f7 100644
--- a/src/main/java/org/apache/commons/crypto/jna/OpenSslJna.java
+++ b/src/main/java/org/apache/commons/crypto/jna/OpenSslJna.java
@@ -26,8 +26,6 @@ import org.apache.commons.crypto.random.CryptoRandom;
*/
public final class OpenSslJna {
- private static final String NAME = "Apache Commons Crypto";
-
/**
* Logs debug messages.
*
@@ -81,7 +79,7 @@ public final class OpenSslJna {
}
public static void main(final String[] args) throws Throwable {
- info(NAME + " OpenSslJna: enabled = %s, version = 0x%08X", isEnabled(), OpenSslNativeJna.VERSION);
+ info(Crypto.getComponentName() + " OpenSslJna: enabled = %s, version = 0x%08X", isEnabled(), OpenSslNativeJna.VERSION);
final Throwable initialisationError = initialisationError();
if (initialisationError != null) {
info("initialisationError(): %s", initialisationError);