pgsql/contrib/pgcrypto internal.c

Поиск
Список
Период
Сортировка
От momjian@postgresql.org
Тема pgsql/contrib/pgcrypto internal.c
Дата
Msg-id 200201030721.g037Lmc66345@postgresql.org
обсуждение исходный текст
Список pgsql-committers
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    momjian@postgresql.org    02/01/03 02:21:48

Modified files:
    contrib/pgcrypto: internal.c

Log message:
    > > On Fri, Dec 21, 2001 at 11:43:21AM +0800, Christopher Kings-Lynne
    wrote:
    > > > Just testing pgcrypto on freebsd/alpha.  I get some warnings:
    > > They should be harmless, although I should fix them.
    >
    > The actual code is:
    >
    >     if ((dlen & 15) || (((unsigned) res) & 3))
    >         return -1;

    > Hard to imagine how (uint *) & 3 makes any sense, unless res isn't
    > always a (uint8 *).  Is that true?

    At some point it was casted to (uint32*) so I wanted to be sure its ok.
    ATM its pointless.  Please apply the following patch.

    --
    marko


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

Предыдущее
От: momjian@postgresql.org
Дата:
Сообщение: pgsql/doc/src/sgml/ref create_table.sgml
Следующее
От: momjian@postgresql.org
Дата:
Сообщение: pgsql/doc TODO