From 9faec58fd0e25358a86623c7f629e0cf85722692 Mon Sep 17 00:00:00 2001 From: yang1946 Date: Thu, 18 Apr 2024 09:13:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9user=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E7=BC=96=E8=AF=91=E5=A4=B1=E8=B4=A5=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yang1946 --- utils/src/huks_attest_verifier.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/src/huks_attest_verifier.cpp b/utils/src/huks_attest_verifier.cpp index 5d94ed8..88dc72e 100644 --- a/utils/src/huks_attest_verifier.cpp +++ b/utils/src/huks_attest_verifier.cpp @@ -236,6 +236,7 @@ static bool VerifyExtension(X509 *cert, const ByteBuffer &challenge) return true; } +#ifdef CODE_SIGNATURE_DEBUGGABLE static void ShowCertInfo(const std::vector &certChainBuffer, const ByteBuffer &issuerBuffer, const ByteBuffer &certBuffer) { @@ -255,6 +256,7 @@ static void ShowCertInfo(const std::vector &certChainBuffer, LOG_INFO("%{private}s", pem.c_str()); } } +#endif static bool VerifyCertAndExtension(X509 *signCert, X509 *issuerCert, const ByteBuffer &challenge) { -- Gitee