pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Jacob Champion <pchampion@vmware.com>
To: michael@paquier.xyz <michael@paquier.xyz>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: [PATCH] Pull general SASL framework out of SCRAM
Date: Tue, 13 Jul 2021 00:01:46 +0000
Message-ID: <83053b47978225c7fdb72a0d9b23755fbd40d4db.camel@vmware.com> (raw )
In-Reply-To: <YOpwhZFOpC0UUQaB@paquier.xyz >
References: <YNLlBncQGBIAMWho@paquier.xyz >
<9dc553fe86ba34bff1e0b636c493b527fc7bc030.camel@vmware.com >
<YNZ5Bqq4GvhNvbp0@paquier.xyz >
<0907fda41fb40b23e2cbdf7eb05a8d61dd5307b3.camel@vmware.com >
<YOLAIngluq5wOmgE@paquier.xyz >
<39a6bd825fd776f5f9c3a8eb7ca1c62f77cea433.camel@vmware.com >
<YOU2xFL/WoHl6ny0@paquier.xyz >
<5cf3c71d51a215d4103abcc686c69e79619e7b60.camel@vmware.com >
<YOao1wTwiWFsgL4p@paquier.xyz >
<5a75d91c1e06cce43ba038ccaa8bfded5cb35df2.camel@vmware.com >
<YOpwhZFOpC0UUQaB@paquier.xyz >
On Sun, 2021-07-11 at 13:16 +0900, Michael Paquier wrote:
> On Fri, Jul 09, 2021 at 11:31:48PM +0000, Jacob Champion wrote:
> > On Thu, 2021-07-08 at 16:27 +0900, Michael Paquier wrote:
> > > + * outputlen: The length (0 or higher) of the client response buffer,
> > > + * invalid if output is NULL.
> >
> > nitpick: maybe "ignored" instead of "invalid"?
>
> Thanks, applied as 44bd012 after using your suggestion.
Thanks!
> Another thing I noticed after more review is that the check in
> fe-auth.c to make sure that a message needs to be generated if the
> exchange is not completed yet has no need to depend on "success", only
> "done".
Ah, right. I think the (!done && !success) case is probably indicative
of an API smell, but that's probably something to clean up in a future
pass.
--Jacob
view thread (19+ messages) latest in thread
Message-ID: <83053b47978225c7fdb72a0d9b23755fbd40d4db.camel@vmware.com>
Permalink: ../83053b47978225c7fdb72a0d9b23755fbd40d4db.camel@vmware.com/
Also on: postgresql.org/message-id/83053b47978225c7fdb72a0d9b23755fbd40d4db.camel@vmware.com
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: pchampion@vmware.com, michael@paquier.xyz
Subject: Re: [PATCH] Pull general SASL framework out of SCRAM
In-Reply-To: <83053b47978225c7fdb72a0d9b23755fbd40d4db.camel@vmware.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox