pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Replace calls of htonl()/ntohl() with pg_bswap.h for GSSAPI encr
Date: Thu, 15 Oct 2020 08:06:26 +0000
Message-ID: <E1kSyHK-0007a0-Ke@gemulon.postgresql.org> (raw)

Replace calls of htonl()/ntohl() with pg_bswap.h for GSSAPI encryption

The in-core equivalents can make use of built-in functions if the
compiler supports this option, making optimizations possible.  0ba99c8
replaced all existing calls in the code base at this time, but b0b39f7
(GSSAPI encryption) has forgotten to do the switch.

Discussion: https://postgr.es/m/20201014055303.GG3349@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/86dba33217bb0b48fcf59da76912c3382b4418cd

Modified Files
--------------
src/backend/libpq/be-secure-gssapi.c    | 8 ++++----
src/interfaces/libpq/fe-secure-gssapi.c | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)



Message-ID: <E1kSyHK-0007a0-Ke@gemulon.postgresql.org>
Permalink:  ../E1kSyHK-0007a0-Ke@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1kSyHK-0007a0-Ke@gemulon.postgresql.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Replace calls of htonl()/ntohl() with pg_bswap.h for GSSAPI encr
  In-Reply-To: <E1kSyHK-0007a0-Ke@gemulon.postgresql.org>
  References: <E1kSyHK-0007a0-Ke@gemulon.postgresql.org>

* 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