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.
This commit is contained in:
Hugo Manrique
2022-08-28 23:24:56 +02:00
committed by GitHub
parent 4b77425585
commit 6547ccaa7e
3 changed files with 5 additions and 2 deletions

View File

@@ -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),