[PATCH] Windows port add support to BCryptGenRandom

Поиск
Список
Период
Сортировка
От Ranier Vilela
Тема [PATCH] Windows port add support to BCryptGenRandom
Дата
Msg-id CO2PR05MB262995499E51BFAC324AA26DE3510@CO2PR05MB2629.namprd05.prod.outlook.com
обсуждение исходный текст
Ответы RE: [PATCH] Windows port add support to BCryptGenRandom  (Ranier Vilela <ranier_gyn@hotmail.com>)
Re: [PATCH] Windows port add support to BCryptGenRandom  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
Hi,
According to microsoft documentation at:
https://docs.microsoft.com/en-us/windows/win32/api/wincrypt/nf-wincrypt-cryptgenrandom
The function CryptGenRandom is deprecated, and may can be removed in future release.
This patch add support to use BCryptGenRandom.

BCryptGenRandom apparently works without having to set up an environment before calling.
The drawback, its change causes need to link to bcrypt.lib.

regards,
Ranier Vilela
Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: polymorphic table functions light
Следующее
От: Ranier Vilela
Дата:
Сообщение: [PATCH] Memory leak, at src/common/exec.c