Re: pgsql: Move SHA2 routines to a new generic API layer for crypto hashes
Вложения
В списке pgsql-committers по дате отправления:
| От | Fujii Masao |
|---|---|
| Тема | Re: pgsql: Move SHA2 routines to a new generic API layer for crypto hashes |
| Дата | |
| Msg-id | cee3df00-566a-400c-1252-67c3701f918a@oss.nttdata.com обсуждение исходный текст |
| Ответ на | pgsql: Move SHA2 routines to a new generic API layer for crypto hashes (Michael Paquier <michael@paquier.xyz>) |
| Ответы |
Re: pgsql: Move SHA2 routines to a new generic API layer for crypto hashes
|
| Список | pgsql-committers |
On 2020/12/02 10:41, Michael Paquier wrote:
> Move SHA2 routines to a new generic API layer for crypto hashes
Thanks for improving this!
I got the following compiler failure. ISTM that the variable "status"
in both pg_cryptohash_update() and pg_cryptohash_final() needs
to be initialized with 0. Patch attached. Thought?
cryptohash_openssl.c: In function ‘pg_cryptohash_update’:
cryptohash_openssl.c:144:5: error: ‘status’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
if (status <= 0)
^
cryptohash_openssl.c: In function ‘pg_cryptohash_final’:
cryptohash_openssl.c:179:5: error: ‘status’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
if (status <= 0)
^
cc1: all warnings being treated as errors
make[2]: *** [cryptohash_openssl.o] Error 1
<builtin>: recipe for target 'cryptohash_openssl.o' failed
Regards,
--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера