From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============6195518083939800007==" MIME-Version: 1.0 From: Denis Kenzior Subject: Re: [PATCH 08/10] pem: Support encrypted keys in l_pem_load_private_key Date: Fri, 11 Aug 2017 19:49:27 -0500 Message-ID: In-Reply-To: List-Id: To: ell@lists.01.org --===============6195518083939800007== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Andrew, > = > I have iwd code to actually enable encrypted EAP-TLS or EAP-TTLS > private keys. But it could use a "l_pem_is_encrypted" too, only the > files would be loaded more times. > = Ah I see, because you're asking the agent for the passphrase. Go with the current proposal, but do me a favor and put in a doc block = above that function and explain that 'encrypted' doesn't follow our = typical out-argument semantics. E.g. it is actually touched even if the = function fails. Regards, -Denis --===============6195518083939800007==--