Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite82f7e9

Browse files
committed
I forgot to update win32 code when doing a renaming in random.c.
Marko Kreen
1 parent067a5cd commite82f7e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎contrib/pgcrypto/random.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2727
* SUCH DAMAGE.
2828
*
29-
* $PostgreSQL: pgsql/contrib/pgcrypto/random.c,v 1.12 2005/07/1115:07:59 tgl Exp $
29+
* $PostgreSQL: pgsql/contrib/pgcrypto/random.c,v 1.13 2005/07/1117:00:03 tgl Exp $
3030
*/
3131

3232
#include"postgres.h"
@@ -126,7 +126,7 @@ static uint8 * try_win32_genrand(uint8 *dst)
126126
if (!res)
127127
returndst;
128128

129-
res=CryptGenRandom(h,NUM_BYTES,dst);
129+
res=CryptGenRandom(h,RND_BYTES,dst);
130130
if (res== TRUE)
131131
dst+=len;
132132

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp