mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
bump version to 2022.02.9
add miyoo_defconfig
This commit is contained in:
26
package/libp11/0001-Update-wp11_rsa.c.patch
Normal file
26
package/libp11/0001-Update-wp11_rsa.c.patch
Normal file
@@ -0,0 +1,26 @@
|
||||
From 4968cfc64dbaa39bb479a24d9578d75099e2f337 Mon Sep 17 00:00:00 2001
|
||||
From: patchMonkey156 <pagorman@asu.edu>
|
||||
Date: Mon, 19 Oct 2020 17:12:15 -0400
|
||||
Subject: [PATCH] Update p11_rsa.c
|
||||
|
||||
Bugfix for new LibreSSL version 3.2.2
|
||||
[Retrieved from:
|
||||
https://github.com/OpenSC/libp11/commit/4968cfc64dbaa39bb479a24d9578d75099e2f337]
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
src/p11_rsa.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/p11_rsa.c b/src/p11_rsa.c
|
||||
index b6beef0..ff12ed7 100644
|
||||
--- a/src/p11_rsa.c
|
||||
+++ b/src/p11_rsa.c
|
||||
@@ -336,7 +336,7 @@ int pkcs11_get_key_size(PKCS11_KEY *key)
|
||||
return RSA_size(rsa);
|
||||
}
|
||||
|
||||
-#if OPENSSL_VERSION_NUMBER < 0x10100005L || defined(LIBRESSL_VERSION_NUMBER)
|
||||
+#if ( ( defined (OPENSSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER < 0x10100005L ) || ( defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x3020199L ) )
|
||||
|
||||
int (*RSA_meth_get_priv_enc(const RSA_METHOD *meth))
|
||||
(int flen, const unsigned char *from,
|
||||
@@ -1,3 +1,3 @@
|
||||
# Locally computed:
|
||||
sha256 639ea43c3341e267214b712e1e5e12397fd2d350899e673dd1220f3c6b8e3db4 libp11-0.4.10.tar.gz
|
||||
sha256 d80c9d084ebfb50ea1ed91bfbc2410d6ce542097a32c43b00781b83adcb8c77f COPYING
|
||||
sha256 57d47a12a76fd92664ae30032cf969284ebac1dfc25bf824999d74b016d51366 libp11-0.4.11.tar.gz
|
||||
sha256 d80c9d084ebfb50ea1ed91bfbc2410d6ce542097a32c43b00781b83adcb8c77f COPYING
|
||||
|
||||
@@ -4,17 +4,23 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBP11_VERSION = 0.4.10
|
||||
LIBP11_VERSION = 0.4.11
|
||||
LIBP11_SITE = https://github.com/OpenSC/libp11/releases/download/libp11-$(LIBP11_VERSION)
|
||||
LIBP11_DEPENDENCIES = openssl host-pkgconf
|
||||
LIBP11_INSTALL_STAGING = YES
|
||||
LIBP11_LICENSE = LGPL-2.1+
|
||||
LIBP11_LICENSE_FILES = COPYING
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBOPENSSL),y)
|
||||
LIBP11_ENGINESDIR = enginesdir
|
||||
else ifeq ($(BR2_PACKAGE_LIBRESSL),y)
|
||||
LIBP11_ENGINESDIR = libdir
|
||||
endif
|
||||
|
||||
# pkg-config returns a libcrypto enginesdir prefixed with the sysroot,
|
||||
# so let's rip it out.
|
||||
LIBP11_CONF_OPTS = \
|
||||
--with-enginesdir=`$(PKG_CONFIG_HOST_BINARY) --variable enginesdir libcrypto | xargs readlink -f | sed 's%^$(STAGING_DIR)%%'`
|
||||
--with-enginesdir=`$(PKG_CONFIG_HOST_BINARY) --variable $(LIBP11_ENGINESDIR) libcrypto | xargs readlink -f | sed 's%^$(STAGING_DIR)%%'`
|
||||
|
||||
ifeq ($(BR2_PACKAGE_P11_KIT),y)
|
||||
LIBP11_CONF_OPTS += --with-pkcs11-module=/usr/lib/p11-kit-proxy.so
|
||||
|
||||
Reference in New Issue
Block a user