summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorEneas U de Queiroz <cotequeiroz@gmail.com>2023-03-21 19:44:19 -0300
committerEneas U de Queiroz <cotequeiroz@gmail.com>2023-04-05 10:34:18 -0300
commit3b2fcd6b2fde4bebf9eb54441c1c8f14b40e26a9 (patch)
treee73a7f355624c1df39d6baa38a5f793e44ae8fc3 /libs
parent7b36881347deaceccf50d575daa3547c1f6729fe (diff)
gost_engine: adapt to new engine build config
This adapts the package to the new include/openssl-module.mk, and updated runtime configuration. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Diffstat (limited to 'libs')
-rw-r--r--libs/gost_engine/Makefile19
-rw-r--r--libs/gost_engine/files/gost.cnf2
2 files changed, 7 insertions, 14 deletions
diff --git a/libs/gost_engine/Makefile b/libs/gost_engine/Makefile
index 94f6c990e..d15a36f39 100644
--- a/libs/gost_engine/Makefile
+++ b/libs/gost_engine/Makefile
@@ -1,19 +1,12 @@
include $(TOPDIR)/rules.mk
-include $(INCLUDE_DIR)/openssl-engine.mk
+include $(INCLUDE_DIR)/openssl-module.mk
PKG_NAME:=gost_engine
-ifeq ($(ENGINES_DIR),engines-1.1)
- PKG_VERSION:=1.1.0.3
- PKG_HASH:=fff725052e82c9adb5b738729b30141f61ac91fa457a4f4b5de18b8b24092f75
- PKG_LICENSE:=OpenSSL
- PATCH_DIR=./patches-1.1
-else
- PKG_VERSION:=3.0.1
- PKG_HASH:=bfeac85883724cfbe0ecc6d942ac0524b908143e019ab3d3b6abe47a3466a628
- PKG_LICENSE:=Apache-2.0
- PATCH_DIR=./patches-3
-endif
-PKG_RELEASE:=7
+PKG_VERSION:=3.0.1
+PKG_HASH:=bfeac85883724cfbe0ecc6d942ac0524b908143e019ab3d3b6abe47a3466a628
+PKG_LICENSE:=Apache-2.0
+PATCH_DIR=./patches-3
+PKG_RELEASE:=8
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://github.com/gost-engine/engine/archive/v$(PKG_VERSION)
diff --git a/libs/gost_engine/files/gost.cnf b/libs/gost_engine/files/gost.cnf
index 84a707c93..8980c5289 100644
--- a/libs/gost_engine/files/gost.cnf
+++ b/libs/gost_engine/files/gost.cnf
@@ -1,4 +1,4 @@
-[gost]
+[gost_sect]
default_algorithms = ALL
# CRYPT_PARAMS: OID of default GOST 28147-89 parameters It allows the
# user to choose between different parameter sets of symmetric cipher