From patchwork Thu May 2 09:56:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 794107 Delivered-To: patch@linaro.org Received: by 2002:adf:a153:0:b0:34d:5089:5a9e with SMTP id r19csp153703wrr; Thu, 2 May 2024 02:57:35 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXOTG2q23j+RgErebrwHA+oXs6Bo4ZkFLKOisZfZrfCpIJX+sisyQ3YofX9YZRjT0v0/59PGIU5Z5u+Yif2YtXT X-Google-Smtp-Source: AGHT+IH914TeHdAZMnHHCujRS9Xwn1OSNrya8WSiaNANdB8S1Widts0NZ2kC1NdWk9UoSPgu6xGk X-Received: by 2002:ad4:5b89:0:b0:6a0:b014:c8bb with SMTP id 9-20020ad45b89000000b006a0b014c8bbmr5568775qvp.19.1714643855547; Thu, 02 May 2024 02:57:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1714643855; cv=none; d=google.com; s=arc-20160816; b=RWfhq4wyJhJBGL1Vzm3cNe/ZuYg5QdG+bbCjRwqFAQCUQeSCST/wZXbmcbeu5pYZGT lPcBxnGDdmThJCsn0fatvhKY00fgouaFzqjYhqDmjF4APtW8TB1pxaap3VXx12aOuEQ2 GDwP/0ZeHNh9Q8Qxo6GynYKuGR6DkTCQo3sFqYj0qnoPY+gSVsmsKyxuQz1YUl+QcUHl bs5PvAH7SXaJjPiL8gS7EeHiSPfrwMRBh8SINtFm11GjlEByqLqZOQHOYQTXJdKUp/uh lWMwLRcmEHdI3MD3AlB3jPthA1W0BP91CbyvyxQr7/WNOYAN/exlhlbSmyr2h5H06P37 k+sA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=f7qwGbQTjhjXahUTZWh0LtFO6xVuUCN4ooMRx2Zw77U=; fh=Dhpq/bjK0ChgMAY5mUf7XOR2DhtP3cS/r2w/r+nRC1I=; b=ezsiJE4IrhHEEYCXpeQ4A3L2F1KppNe8gdQjs9Wal9ZIeVnksfK8w1tk67VHZWUQJ+ sQPrH9Iln/qD0S47g2D6N8JaTEuCaCHAxMDdXkOBw147P8Q33l7NIR/JFehZX/6ryXQ1 Dx7JjeE1LPOBCPSOe2Q4tOw+FjN3nGdM8a2YxYWmZ+SfPqw3xJZGfNe/9ZJ7CYQEyscR O04H7+2DMleP9/LM9Hqmm9KO1C6upa0NZGY7Jv5GCVHgfwrkjCJ6VLACCGNCPQZ/gmF8 BRaB20bSQKkDWqzX/yX2lCoc6jCMGmdwUs5sYvyzCGy4bBVx8KYgCwX8jMz1Q3VNAvPS g+PA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=enkVHEcd; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id eq10-20020ad4596a000000b006a0c7f42125si578783qvb.58.2024.05.02.02.57.35 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 02 May 2024 02:57:35 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=enkVHEcd; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2TBT-0000bl-90; Thu, 02 May 2024 05:56:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s2TBO-0000b7-K2 for qemu-devel@nongnu.org; Thu, 02 May 2024 05:56:56 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s2TBN-000174-3u for qemu-devel@nongnu.org; Thu, 02 May 2024 05:56:54 -0400 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-34da84cb755so1444604f8f.2 for ; Thu, 02 May 2024 02:56:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714643811; x=1715248611; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=f7qwGbQTjhjXahUTZWh0LtFO6xVuUCN4ooMRx2Zw77U=; b=enkVHEcd71DBDUJaHHAp+kjQg+TEXxw8hByTR4TVdP61drr4W6n0gkAOxGe4ltkSaQ rJ/z8CeHu6hhYy+p8JrceICqo4OStMGdSzMMZxgx7vbDhdtRlJBkr5dACIMpTl5w5vgL 3M0W8qyujmbwpWWaQ32Lfi2J5FavfKnK444jzKE2LasaW1G0wvZwuzQJBG0nYY3fzAQ0 JG9WKB8gzII1maJBpfDvdFaLS54DXnh+pAZiz7Cd+izR3UZaR7MhLEz2xJsmbKiPpHEI O9mrfXD5/GdbvA5Y2eClKSqypmkNvd0yJmwXdrV6M2UpGyR6tJbQqb6ohB7UmnrCZNcN 0mnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714643811; x=1715248611; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=f7qwGbQTjhjXahUTZWh0LtFO6xVuUCN4ooMRx2Zw77U=; b=lVA5ncFJCUAzB0ruHmYTSqlipSfEvY4A+GGy4gKKGLvlDmnUxFhiNc6QnXK0wDFF6M X+oBh4cg1bdQ8mUIlx+J56TRlGzYr4XezpNlTcJMwoVsJb6jTjzTNOpFqWwIwyYJwBwS gYgUy0EFl2JQn6ITRbmkS01VgUoN176FP6nG0Wt9DYMzGlMFHMWUivD6cMCpGFPQdD0X 6Rdd+nelYiwLiS1ru5oVUomeaOOnEhwzgh9qTw4VcUcGB5Iax0FRFLKG2sDO9+wQGyYr OZOQuaeuVftGNmeL1vFMdJgo6t5RzW16nFWNVIHxED7/Uc9kfCTk3ZaeApmGw17FgIAo aTEw== X-Gm-Message-State: AOJu0YyGbShHw6v7xpslBM+HijO1bgQ3cDXradDa+wYPvEFax26H8Ul1 mIAjAmO0ihq4VsomRVbNQV87vyM3+Ae3FvTPlLeHtXA9/tSuEzQ4cm5PEwE0RW1cn38y7RjigAb R X-Received: by 2002:adf:facf:0:b0:34d:a23c:cb4a with SMTP id a15-20020adffacf000000b0034da23ccb4amr1272261wrs.7.1714643811001; Thu, 02 May 2024 02:56:51 -0700 (PDT) Received: from m1x-phil.lan ([176.187.215.106]) by smtp.gmail.com with ESMTPSA id w15-20020a5d544f000000b0034db8184b41sm847863wrv.112.2024.05.02.02.56.49 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 02 May 2024 02:56:50 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= , =?utf-8?q?M?= =?utf-8?q?arc-Andr=C3=A9_Lureau?= , Thomas Huth , Paolo Bonzini , Laurent Vivier , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v2 1/3] crypto: Remove 'crypto-tls-x509-helpers.h' from crypto-tls-psk-helpers.c Date: Thu, 2 May 2024 11:56:40 +0200 Message-ID: <20240502095642.93368-2-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240502095642.93368-1-philmd@linaro.org> References: <20240502095642.93368-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=philmd@linaro.org; helo=mail-wr1-x42f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org crypto-tls-psk-helpers.c doesn't access the declarations of "crypto-tls-x509-helpers.h", remove the include line to avoid when building with GNUTLS but without Libtasn1: In file included from tests/unit/crypto-tls-psk-helpers.c:23: tests/unit/crypto-tls-x509-helpers.h:26:10: fatal error: libtasn1.h: No such file or directory 26 | #include | ^~~~~~~~~~~~ compilation terminated. Fixes: e1a6dc91dd ("crypto: Implement TLS Pre-Shared Keys (PSK).") Suggested-by: Daniel P. Berrangé Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Daniel P. Berrangé --- tests/unit/crypto-tls-psk-helpers.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/unit/crypto-tls-psk-helpers.c b/tests/unit/crypto-tls-psk-helpers.c index c6cc740772..36527fd655 100644 --- a/tests/unit/crypto-tls-psk-helpers.c +++ b/tests/unit/crypto-tls-psk-helpers.c @@ -20,7 +20,6 @@ #include "qemu/osdep.h" -#include "crypto-tls-x509-helpers.h" #include "crypto-tls-psk-helpers.h" #include "qemu/sockets.h"