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 2f62fd77c64973e2fdde2feeb583117b8f35d6a7..612b3b93b447b38180f411a1d11d243f086189b1 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);