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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [COMMITTERS] pgsql: Support SCRAM-SHA-256 authentication (RFC 5802 and 7677).
Дата
Msg-id 14258.1488902790@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [COMMITTERS] pgsql: Support SCRAM-SHA-256 authentication (RFC5802 and 7677).  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-committers
Heikki Linnakangas <hlinnaka@iki.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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Support SCRAM-SHA-256 authentication (RFC5802 and 7677).
Следующее
От: Robert Haas
Дата:
Сообщение: [COMMITTERS] pgsql: Remove duplicated word.