From: Bruce Momjian Date: Sat, 10 May 2003 04:06:55 +0000 (+0000) Subject: More crypt() cleanup. X-Git-Tag: REL7_4_BETA1~611 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=199f24e19d9f0ef1e2d625afe985e494c19dd859;p=postgresql More crypt() cleanup. --- diff --git a/src/port/crypt.c b/src/port/crypt.c index a76a0934e4..dd3e7ecb2a 100644 --- a/src/port/crypt.c +++ b/src/port/crypt.c @@ -769,14 +769,6 @@ init_des() static unsigned char perm[64], tmp32[32]; /* "static" for speed */ static volatile long init_start = 0; - if (InterlockedCompareExchange((PVOID *)&init_start, - (PVOID)1, (PVOID)0) == (PVOID)1) - { - while (!des_ready) - Sleep(0); - return; - } - /* * table that converts chars "./0-9A-Za-z"to integers 0-63. */