This looks to have been a typo.
authorGeoff Thorpe <geoff@openssl.org>
Sat, 24 Nov 2001 04:02:42 +0000 (04:02 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Sat, 24 Nov 2001 04:02:42 +0000 (04:02 +0000)
crypto/cryptlib.c

index 2f62fd7..612b3b9 100644 (file)
@@ -231,7 +231,7 @@ void CRYPTO_destroy_dynlockid(int i)
 
        if (dyn_locks == NULL || i >= sk_CRYPTO_dynlock_num(dyn_locks))
                {
-               CRYPTO_w_lock(CRYPTO_LOCK_DYNLOCK);
+               CRYPTO_w_unlock(CRYPTO_LOCK_DYNLOCK);
                return;
                }
        pointer = sk_CRYPTO_dynlock_value(dyn_locks, i);