From patchwork Mon Jul 8 16:56:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bastian Germann X-Patchwork-Id: 1958051 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=EYJxKBB+; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2607:f8b0:4864:20::139; helo=mail-il1-x139.google.com; envelope-from=swupdate+bncbcn5n5njz4bbbpnuwc2amgqeypg2zjq@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-il1-x139.google.com (mail-il1-x139.google.com [IPv6:2607:f8b0:4864:20::139]) (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 4WHqyr0xKSz1xrJ for ; Tue, 9 Jul 2024 02:56:34 +1000 (AEST) Received: by mail-il1-x139.google.com with SMTP id e9e14a558f8ab-383643cac9csf43594285ab.1 for ; Mon, 08 Jul 2024 09:56:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1720457790; cv=pass; d=google.com; s=arc-20160816; b=mDJoG/be85nuAokRFxRLXY9KLEiM4aBPHalm6KhH427zPdZe7Ful+cDjxhJfDAFP9R dSbRsVuU7vC4bmgprUz+KeyjMZOhXTirIOenVWDnx9W2+FN+f7NzbKOGdV/mHN6jL0CR pQ0hYSYc/4PFBdaz3QYM+SsApD3htEQ+s4FTH0OaU14lI7/i9UHB9+Y+DLDI91oUrPU1 N0kG8X8ldjuzRoSySKgFzhqG4r7vIuSHzwulbqUf2VGbraMUqEXK5hGEeShBhIAuC6F6 oNDWAoZDywAo8GvIQtK8hH+xt6aqMXcqUBAdtgq2xFuH1IYE3LzmDXADbdT7e03XSspO XHew== 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=zR5ZCm3MUSiBgz0DQLWoDK98Nzs24LqhVZNpFVCnu2Q=; fh=MsLgoVY45N527hqvxdQhN4WQ2YZzxYC6BHxSg2gXdJI=; b=gA093kIKwqFyTMNc5xo59pR+SL2Vo/05J6pHj+5MvtXd9+LYLAqYNZjmaNDLDfpOhH SBShy2vwosmSM8ZV4H7KqwDOlLP2nQ5sBHvu8dmIaDhA79lrII64muZiV7wtm8MZRHad /VVfHHngyD0cVGm/Ipc68E3KEjE1ElwxrzELCWQ4ah5PzK6qVp9e5/SIl42ldvk5FaEI 5RtN0+oBQwmxoctGZBNfx0foL1E9mMgaw6IoGGO8iaM+IkRFCEiruTDVZrxzCQ7tSk+S TbH+9LDsE/AE0XGKAmj966CFkwnwl0sNjy7nLbkdZpPJ4nyNK75Gm3S0f2D4mHI4A6og blug==; 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=nDC3Sob7; 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=1720457790; x=1721062590; 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=zR5ZCm3MUSiBgz0DQLWoDK98Nzs24LqhVZNpFVCnu2Q=; b=EYJxKBB+EOg8XKJzYO7pPoXfhxgh03P5gCze5Lx7UdpB+6WekF1QeChAQf6469cwR6 i0vf20LPl+H4uqnsWDCiCm8sWLggNb+12aAZJelVgMVWC0Gcd+BJ5NKjn7Xq5wcCO/Ky jL31kd8qvJCdDDu/yuz0p8gk6U3hZKui/dmPPC5izftmLVlNvpj/y2k/KIjI0TdRmENw UhVbVDwbRx1BHDt01mJmTLxQrlSYtZR97bccHBhjTCnZbNSUQ6HViiymSUJmzIv/6cv+ KfzoWWdjJRfXiEyvILnpblPgVp+2s0Kxd4Re1ivR6RTCZa7jkRsfkE3XRzHxrGLkvccz PeOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720457790; x=1721062590; 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=zR5ZCm3MUSiBgz0DQLWoDK98Nzs24LqhVZNpFVCnu2Q=; b=IGCqHshPfdOkKY/mZAif600sfJHhmXx7e/hPpyIPaOPWhcJRWMkgcZv0FnNE2QC6RH P9lQQIEiovyIgB66f8d3DvbfX+Y+Zz2kvt5lNSMS+wfnII0lkEehKUg+QtILbCDKJe+K 1AVtq+fSYyor6dNhopyc/Ic3BAMZssqntRgnhVCHp9l4WG/MDTRDYCjQ9BkouoyVq5d5 eQmdYyi+Ob/Dzq6MX17t8Gr9ynPT2heygHkduXMo7/447Ha8tcbHx0UrGWLC1ALgxahG G4Rb4nZmUWCk5RXDkoBj7qNP4SkhMmLt6UloPYQbsFcpV/QYyI3mHMQq2KA4achcXSUr sI1A== Sender: swupdate@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCVFLqIHZNBTKRlihIaxlI4Wo4c2O8KuLKQDvtb+ILA9pf3X26a4gRQXmKtPNEBJ2YGGTFlUDNhKhBknW6vmG/lmNltgunjCwSvuEZXQrA== X-Gm-Message-State: AOJu0YyhgvHsK7ZjfXhVQXdMcF11PEzWigo2FAS4iuCDtcvwBiaJ6wYf ZrFcuhEaCcDd9GOeCtdV7IC2cIgsJJTjB0smECgr06V+QbbJDGNr X-Google-Smtp-Source: AGHT+IFCOqPcf26s0KZZe4IA5G79RoniotBysi2hodI/ZPhce+FG6rVPN/KUj35zXa+5xzKhTl2oKg== X-Received: by 2002:a05:6e02:174f:b0:374:9552:823c with SMTP id e9e14a558f8ab-38a57213d17mr1402455ab.2.1720457790280; Mon, 08 Jul 2024 09:56:30 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:6e02:12e9:b0:375:c4e6:a46e with SMTP id e9e14a558f8ab-383728f0c7als32593695ab.1.-pod-prod-07-us; Mon, 08 Jul 2024 09:56:29 -0700 (PDT) X-Received: by 2002:a05:6e02:170b:b0:382:b436:ecbb with SMTP id e9e14a558f8ab-38a57bcd755mr1076015ab.11.1720457789096; Mon, 08 Jul 2024 09:56:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1720457789; cv=none; d=google.com; s=arc-20160816; b=u7/KUZ0Kzg2YF1vX1Pur0V1RLmqAnKuR32B5aGPOKRWaxtlmgAZoALSUFtAjll88yM DvJovCLOkENTZLv/8HhNSt748KPeRndp1O2XxjMZpnlhGtZ6pqdH8P6FmdC9V05q2NeH lxSjZBYvggh8rp7Qo0Z/F9Pg2ejjRQqEqUhZ5GQ3AABO+4Tx/5oMMUhHSn+jyu0q7RBK 4UIDZBNZ9gWjxCGr8I7ZnyGAuEqzXEUi+Di3ARknJet1c3iS4JXc66Yd2AipiLfxMSSb EIz66GXxq4OUCyNlQgzJ1PJmD4sxO//32XWesKSHdFHGfZSsh7+3pRmI2SRh7xGgH7yM bJ6A== 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=gybiYLetocK9k3tRGZLSvFzA0bm/GUOtiaX7fjd7eZ0=; fh=SFxTw2b8Ua4x6rX/X3nCP9DI7uKEJI/JZJzSqwai/LQ=; b=jd9EDJLHu2D6I2DEFUQb7q6vs5iyOqopxprCDZbi6sD3grh+8vTDRnZCbH7i1aiNUD ArUXontGp+wH1MiVradFt504WyfGSlQ8/N6VYqCUxDDFCu+2W2EyscM8J/68iyUG6FzU 5bVqOYiBs+WGfnR5LrNg3nyqJZ8z7A0ie5XFYXI060yem5YqANcAJQxLhKQb5IM4NZjk /HLewcjemAkFJrykUWaLFBa1xXcWDk/iy+ET8pQ8fTX9sfRsX8JaXUX2Otuyah0nY/4K TxD2tGn0M4WuFLgI99bCPvYuyzPabJWgnh77f4H8x9Xlz+b54x/pj510s/qWwizGkX03 iwzA==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@debian.org header.s=smtpauto.stravinsky header.b=nDC3Sob7; 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 e9e14a558f8ab-38a48c9bfa8si60755ab.1.2024.07.08.09.56.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jul 2024 09:56:29 -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 1sQrf5-0081Sm-JU; Mon, 08 Jul 2024 16:56:23 +0000 From: Bastian Germann To: swupdate@googlegroups.com Cc: Bastian Germann Subject: [swupdate] [PATCH v2] Let options.h be the first wolfSSL include Date: Mon, 8 Jul 2024 18:56:18 +0200 Message-ID: <20240708165618.28442-1-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=nDC3Sob7; 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. Signed-off-by: Bastian Germann --- 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