De: Michael Paquier Enviadas: Terça-feira, 17 de Dezembro de 2019 03:43 Para: Ranier Vilela Cc: pgsql-hackers@lists.postgresql.org Assunto: Re: [PATCH] Windows port add support to BCryptGenRandom
>And looking at this page, it is said that the minimum version >supported by this function is Windows 2008: >https://docs.microsoft.com/en-us/windows/win32/api/bcrypt/nf-bcrypt-bcryptgenrandom<https://docs.microsoft.com/en-us/windows/win32/api/bcrypt/nf-bcrypt-bcryptgenrandom> >Now, your changes in MkvcBuild.pm and the backend code assume that >we need to include bcrypt.lib since MSVC 2015 (at least version >14.00 or _MSC_VER >= 1900. Do you have a reference about when this >has been introduced in VS? The MS docs don't seem to hold a hint >about that.. Sorry Perl I understand a little bit. Windows Vista I believe. https://github.com/openssl/openssl/blob/master/crypto/rand/rand_win.c is the primary font and have more information. Best regards, Ranier Vilela [https://avatars0.githubusercontent.com/u/3279138?s=400&v=4]<https://github.com/openssl/openssl/blob/master/crypto/rand/rand_win.c> openssl/rand_win.c at master · openssl/openssl · GitHub<https://github.com/openssl/openssl/blob/master/crypto/rand/rand_win.c> TLS/SSL and crypto library. Contribute to openssl/openssl development by creating an account on GitHub. github.com