Re: pgsql: Support SCRAM-SHA-256 authentication (RFC 5802 and 7677).

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Cc: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Support SCRAM-SHA-256 authentication (RFC 5802 and 7677).
Date: 2017-03-07 16:06:30
Message-ID: 14258.1488902790@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Heikki Linnakangas <hlinnaka(at)iki(dot)fi> writes:
> I also noticed that the HPUX buildfarm members pademelon and gaur
> failed, with this:
> /usr/ccs/bin/ld: Unsatisfied symbols:
> htonl (code)
> I will look into that too.

I think the critical part of their report is

scram-common.c: In function `scram_Hi':
scram-common.c:106: warning: implicit declaration of function `htonl'

There are two headers that we commonly include when wanting those
functions:

/* for ntohl/htonl */
#include <netinet/in.h>
#include <arpa/inet.h>

I think you probably left out one or both.

regards, tom lane

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2017-03-07 16:20:17 pgsql: Remove duplicated word.
Previous Message Heikki Linnakangas 2017-03-07 16:00:52 Re: pgsql: Support SCRAM-SHA-256 authentication (RFC 5802 and 7677).