More crypt() cleanup.
authorBruce Momjian
Sat, 10 May 2003 04:06:55 +0000 (04:06 +0000)
committerBruce Momjian
Sat, 10 May 2003 04:06:55 +0000 (04:06 +0000)
src/port/crypt.c

index a76a0934e493ae1c641bc42b78c9b131392911db..dd3e7ecb2a224ffa19b2dc19cdc33c5f8e3ce640 100644 (file)
@@ -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.
     */