From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 09 Jul 2021 13:41:35 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1m1osx-0006G3-Jl for lore@lore.pengutronix.de; Fri, 09 Jul 2021 13:41:35 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1m1osx-0006Zs-69; Fri, 09 Jul 2021 13:41:35 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m1osi-0006ZV-6A; Fri, 09 Jul 2021 13:41:20 +0200 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1m1osh-0003qF-Lu; Fri, 09 Jul 2021 13:41:19 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1m1osh-001Zbd-L4; Fri, 09 Jul 2021 13:41:19 +0200 Date: Fri, 9 Jul 2021 13:41:19 +0200 From: Michael Olbrich To: Roland Hieber Message-ID: <20210709114119.GA375046@pengutronix.de> Mail-Followup-To: Roland Hieber , ptxdist@pengutronix.de References: <20210627231121.28313-1-rhi@pengutronix.de> <20210628063825.GJ25044@pengutronix.de> <20210708201624.lgt6dvs4aot4rg4l@pengutronix.de> <20210709074209.GA27395@pengutronix.de> <20210709112632.cxtmg47citxjodxr@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210709112632.cxtmg47citxjodxr@pengutronix.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [ptxdist] [PATCH v2 1/7] ptxd_lib_code_signing: cs_get_ca(): improve error handling X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: ptxdist@pengutronix.de Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false T24gRnJpLCBKdWwgMDksIDIwMjEgYXQgMDE6MjY6MzJQTSArMDIwMCwgUm9sYW5kIEhpZWJlciB3 cm90ZToKPiBPbiBGcmksIEp1bCAwOSwgMjAyMSBhdCAwOTo0MjowOUFNICswMjAwLCBNaWNoYWVs IE9sYnJpY2ggd3JvdGU6Cj4gPiBPbiBUaHUsIEp1bCAwOCwgMjAyMSBhdCAxMDoxNjoyNFBNICsw MjAwLCBSb2xhbmQgSGllYmVyIHdyb3RlOgo+ID4gPiBCVFcsIEkgbGlrZSB0byBnZXQgZmVlZGJh Y2sgbWFpbCBhcyBDYyBpbnRvIG15IGluYm94IHNvIEkgY2FuIGtlZXAgYQo+ID4gPiBzaW1wbGUg YmFja2xvZyBvZiBteSBzdGlsbC10by1iZS1kb25lIHBhdGNoZXMgaW4gYWRkaXRpb24gdG8gdGhl Cj4gPiA+IFBUWGRpc3QgbGlzdCBtYWlscywgd2hpY2ggZ28gdG8gYSBzZXBhcmF0ZSBmb2xkZXIu IChZb3Ugb2Z0ZW4ga2VlcCBtZSBpbgo+ID4gPiBDYywgYnV0IHNvbWVob3cgbm90IGFsd2F5cywg YnV0IEkgdGhpbmsgbXV0dCBzaG91bGQgZG8gdGhpcyBieSBkZWZhdWx0Cj4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