From patchwork Fri Jun 21 18:15:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bastian Germann X-Patchwork-Id: 1950916 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20230601 header.b=BDDxuRso; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::23c; helo=mail-lj1-x23c.google.com; envelope-from=swupdate+bncbcn5n5njz4bbbmug26zqmgqej53w5aa@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-lj1-x23c.google.com (mail-lj1-x23c.google.com [IPv6:2a00:1450:4864:20::23c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4W5QWg219fz20X8 for ; Sat, 22 Jun 2024 04:15:26 +1000 (AEST) Received: by mail-lj1-x23c.google.com with SMTP id 38308e7fff4ca-2ec4805747csf16608801fa.0 for ; Fri, 21 Jun 2024 11:15:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718993716; cv=pass; d=google.com; s=arc-20160816; b=ul5pBiPugCYqi04L+ZvZI9gu/XF0B+jBFYnc/5zuqdplwZFXbdB5gemFDzkwxdN25I u6ZjzvUNFCMFOhlZkELIbWWBBKU2mHWNoronmrpzNeTrDDcf5oAG39f0UP3R8J2P5I5f FVUHlOnTeUvM4SjhFRD9VDjJP8po+ICQTz+MIz3t/plHVOTXyqwSuGAl95StRwikjH81 2RuhU0gJ6uV/KsoZgL9waGdxO4W1GRghV3ogVfdCS4FXHm4JATMjVlIjeXefnM/P3oC4 ahdZt7PFHVafoIx9fZSReBl84vWuYdhOupLtCM5RMy199VLLNM1nh863DlYL4NniFeV+ 70LQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=4+7iMWMpg303esrEsPuNVzKlxkOe8WZmhIa69ek4jIM=; fh=p1QR6ZflLEBt6Cd1L4s0wsfVvL9So/oXuavRqXi72Vw=; b=k3pmEQ0b8TVijOO3FvgJmdHS/TDtLyP0mhCh9jPES0xdK0V2l7O89j0h7uTrQkGEhd 40wjecvEkbNAEaS3Xs5esmDeefznEFyX7LvEnCnJGVtxHT5zAz9m35RXg2IJ78HCGQKT tl/HUm/63qspfykXRUsAqOL0iZobPAotfmjaP953kUHgfHk7nuhpF9vAn57hINIvSqpX t1umlXcFUSaD5+3fqXq1DeG++hPOtH4aCWleYQ7Jnxsf+qw9s6XrcMPi3ChfExd5J5fk v3xGjvkjlUNa8Uc0nV287E9qj44QcNTwthGltnbOWGyQNY6cHcI/M2EWSmm+yH9pefLk nLSA==; darn=patchwork.ozlabs.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@debian.org header.s=smtpauto.stravinsky header.b=ujhAuqdi; spf=none (google.com: debian.org does not designate permitted sender hosts) smtp.mailfrom=bage@debian.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1718993716; x=1719598516; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:sender:from:to:cc:subject:date:message-id :reply-to; bh=4+7iMWMpg303esrEsPuNVzKlxkOe8WZmhIa69ek4jIM=; b=BDDxuRsoNEUdTcLNAEEPqWh4NRZ7Rf1xnpBPPEFyH3oswQe4CQlhIkaxmVpyoRUHr7 sOjAnIqL9vbFtwSidSLTJFbvI2HTKe+fQmJAZNfPBNzw6BB67wwXrv2VdfGz0himN7Se U/JOAtl0MAx13LLNdXGR23h9Xuntvzf6cXvQR+xX8lViSlLDG2l3ANLUeIZOlRJivIJa jaijOW9YVqeVvw6D6z7DU/lNFS2Yp0SD6NTXlgX6wKfpX+K54ivO4f89kUeZ2HGoRttH dbWASwlcFezNKVbLMxgJ1YTuO4CxvORNybPk0UkPJxmVWPqb0H50Ltxp83MQhjwKS4hx uR/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718993716; x=1719598516; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=4+7iMWMpg303esrEsPuNVzKlxkOe8WZmhIa69ek4jIM=; b=R91L73sJfL97tJl0SbvCsLSwL+MqmGK+0g69sy0IOeqmhav1Z3aS8dnwUmn5bw4I4s WjYH2r5+IK2U6zb+VBfHH6HpWnkBYIz3xv+Rbg9AK9nwLOOeOJG/O622t2jH65ZrKIk5 9xWAaw95Oz99XJNLyYJJyd4Nk/8GrS1LcsZhZhgGBY7wQWnUFEbeOunpdJ4cXJGx7nZx WHtdF7UIZz9H7EU9+a4Gl61AByo9DUUalL+tknUn43BMNy0QPxG4weCLae7KO+SN/6/x ZhkauWiZfugdYZgBWe8kXtPEhqaYe3WeJWaUL8ht9ob3FHzeZQ7ChnbZZ4mL+FgWhaLv iaMQ== Sender: swupdate@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWnOUfEPKCr5lbLJ9l86WFsqI5Xbcghs+t3VPE7G9aIKW/uZN/M1TViAWTwKGUcJZaP6PAo1KQhAyvHs7C7hC7lSp7e+YjaDqHMduKBcA== X-Gm-Message-State: AOJu0YzPSu8jUNEk889PiAjM0ZZ37vSHvNx7VQLaNpQQXa18rCKMa5Su ODdkZ3Pyfv4/oy3HQWHl79ZXuvWylNVBRZX3GQN87zlcpDbj82Hp X-Google-Smtp-Source: AGHT+IFHPXR+jxpsJsZuLIil3/vPIHBsI0Ujll4Ahb0F64w967Q+P7QxhcuAc4puBNId05FFq3gN9w== X-Received: by 2002:a2e:8904:0:b0:2ec:1dfc:45cd with SMTP id 38308e7fff4ca-2ec3cea476cmr62468211fa.4.1718993715777; Fri, 21 Jun 2024 11:15:15 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a2e:be9d:0:b0:2ec:447d:c291 with SMTP id 38308e7fff4ca-2ec447dc614ls16556271fa.2.-pod-prod-03-eu; Fri, 21 Jun 2024 11:15:12 -0700 (PDT) X-Received: by 2002:a05:6512:214e:b0:52c:bc50:ff35 with SMTP id 2adb3069b0e04-52ccaa9739cmr4878246e87.57.1718993712540; Fri, 21 Jun 2024 11:15:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1718993712; cv=none; d=google.com; s=arc-20160816; b=btfa5xmAnY3rcOFgN+SZxdRT7SpQp9TgQi9UoZdaKCJW05Ym1kFZgmYnOzIJZRll4r mXJrxjokBLpcAT9xIzvS0M2UPodkDD5gcnUKMWvdgJkw6zZ2otjXS5MfoBwvLfAO05Bs xtmbtqyukaW7jY5+bFipfUy4ZbLp4vQTovYEp3v0QLqh7utoVlkr0fHl5DwXsdxMmKPs 3gex9b0EMhVjlfXJRBBmeNNAuBwUyWQS9eHlOFczJYjTWKPsmlRSnfZLa3Jrftg3pYe8 bxatNLKtQN5BK0WD9p62FD90fdn0FF1JpNfgVqzBrkO66YHDQpew3tbPnFmHb0VPIsDb Dlxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=urkV9QwqzXDMpWX5pbjd6Jbx6J8jq5H1vfUaeoCeZd0=; fh=SFxTw2b8Ua4x6rX/X3nCP9DI7uKEJI/JZJzSqwai/LQ=; b=Mmp/xdBgmx2ifjdW1PA1iaUertY9HpZhNJVf1gi7z1EG+cxUrYqHInCvQ+xEBGO91g 60W3H8KQ50aLfy1R9XPTn9qRVPObOz01SaW9zRT3qgi3w4V4uDawk7P5gpfH8byZQnkG ZzBTSpoR+ZcU6Ug5gf6ZVhCqzGMa5GAar9Ye1gDcC8p0Se0Spp/TkOnL9tqEcnOwKN6Q slSqH3hOLJWzQHWLBgUNDWq/CcWLIwZm0+5QPI2ys/rb5xqrqK9/MtUqdQTxsygCCvGB W42I2ioujpSF5HPb49u2HXq9lavczihciL7tbAgPDYALLD2o8KPXj+j+gYwJ0bwZZWK8 Qt8w==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@debian.org header.s=smtpauto.stravinsky header.b=ujhAuqdi; spf=none (google.com: debian.org does not designate permitted sender hosts) smtp.mailfrom=bage@debian.org Received: from stravinsky.debian.org (stravinsky.debian.org. [2001:41b8:202:deb::311:108]) by gmr-mx.google.com with ESMTPS id 2adb3069b0e04-52cd641d3bcsi37046e87.8.2024.06.21.11.15.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 11:15:12 -0700 (PDT) Received-SPF: none (google.com: debian.org does not designate permitted sender hosts) client-ip=2001:41b8:202:deb::311:108; Received: from authenticated user by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2) (envelope-from ) id 1sKin1-00Fvm6-Pc; Fri, 21 Jun 2024 18:15:11 +0000 From: Bastian Germann To: swupdate@googlegroups.com Cc: Bastian Germann Subject: [swupdate] [PATCH 1/1] Let options.h be the first wolfSSL include Date: Fri, 21 Jun 2024 20:15:01 +0200 Message-ID: <20240621181509.32850-2-bage@debian.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240621181509.32850-1-bage@debian.org> References: <20240621181509.32850-1-bage@debian.org> MIME-Version: 1.0 X-Debian-User: bage X-Original-Sender: bage@debian.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@debian.org header.s=smtpauto.stravinsky header.b=ujhAuqdi; spf=none (google.com: debian.org does not designate permitted sender hosts) smtp.mailfrom=bage@debian.org Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , cbceee179d (Fix build error when WolfSSL is used) included wolfssl/ssl.h in front of wolfssl/options.h, which has to be the first wolfSSL include. The compilation will error on the X509 type with this. Change the include order. --- include/sslapi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sslapi.h b/include/sslapi.h index 64640184..36762b93 100644 --- a/include/sslapi.h +++ b/include/sslapi.h @@ -41,8 +41,8 @@ #include #include #elif defined(CONFIG_SSL_IMPL_WOLFSSL) -#include #include +#include #include #include #include