代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/libtpms 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
From 36aab2de0671e4e4068daf46abcff0d63d8d400c Mon Sep 17 00:00:00 2001
From: orbea <orbea@riseup.net>
Date: Wed, 13 Mar 2024 10:01:49 -0700
Subject: [PATCH] tpm12: add missing openssl includes
This fixes the build with LibreSSL 3.9.0 where many implicit
declarations for BN_, EVP_ and RSA_ functions occur which were
implicitly included before.
Signed-off-by: orbea <orbea@riseup.net>
---
src/tpm12/tpm_crypto.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/tpm12/tpm_crypto.c b/src/tpm12/tpm_crypto.c
index bcbaa7fc2..628e27cc2 100644
--- a/src/tpm12/tpm_crypto.c
+++ b/src/tpm12/tpm_crypto.c
@@ -48,6 +48,8 @@
#include <openssl/rand.h>
#include <openssl/sha.h>
#include <openssl/engine.h>
+#include <openssl/evp.h>
+#include <openssl/rsa.h>
#include "tpm_cryptoh.h"
#include "tpm_debug.h"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。