13
0
geforkt von Mirrors/Velocity

Provide crypto native for Linux x86_64 and OpenSSL 3.0.x (#854)

Compiled the crypto native on Debian testing (that ships with OpenSSL
3.0.5-2). Fixes #852.
Dieser Commit ist enthalten in:
Hugo Manrique 2022-08-28 23:24:56 +02:00 committet von GitHub
Ursprung 4b77425585
Commit 6547ccaa7e
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23
3 geänderte Dateien mit 5 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -16,8 +16,8 @@ traditional Java fallbacks.
way to use AES-NI extensions on modern processors, but this is less important since JDK 8 has native support.
* OpenSSL is not included in Velocity. Every distribution provides it now. To deal with ABI incompatibilities,
the native library (which only calls into OpenSSL and contains no cryptographic code) are available for
CentOS 7 (OpenSSL 1.0.0-based) and Debian 9 (OpenSSL 1.1.0-based) to provide the widest, most reasonable
compatibility with most modern distributions.
CentOS 7 (OpenSSL 1.0.0-based), Debian 9 (OpenSSL 1.1.0-based) and Debian Bookworm (OpenSSL 3.0.0-based)
to provide the widest, most reasonable compatibility with most modern distributions.
## OS support

Datei anzeigen

@ -99,6 +99,9 @@ public class Natives {
new NativeCodeLoader.Variant<>(NativeConstraints.LINUX_X86_64,
copyAndLoadNative("/linux_x86_64/velocity-cipher.so"), // Any local version
"OpenSSL local (Linux x86_64)", NativeVelocityCipher.FACTORY),
new NativeCodeLoader.Variant<>(NativeConstraints.LINUX_X86_64,
copyAndLoadNative("/linux_x86_64/velocity-cipher-ossl30x.so"), // Debian "Bookworm"
"OpenSSL 3.0.x (Linux x86_64)", NativeVelocityCipher.FACTORY),
new NativeCodeLoader.Variant<>(NativeConstraints.LINUX_X86_64,
copyAndLoadNative("/linux_x86_64/velocity-cipher-ossl11x.so"), // Debian 9
"OpenSSL 1.1.x (Linux x86_64)", NativeVelocityCipher.FACTORY),

Binäre Datei nicht angezeigt.