Redo the support for dynamic locks. First of all, it was terribly
authorRichard Levitte <levitte@openssl.org>
Mon, 19 Jun 2000 13:38:09 +0000 (13:38 +0000)
committerRichard Levitte <levitte@openssl.org>
Mon, 19 Jun 2000 13:38:09 +0000 (13:38 +0000)
commite73a6965e374270971d730f5886b6ecc214e609f
treeca84b0ea94ac79e609a46452ec3278fb04eafa9e
parent9bc629208f54758a06898340148a6538217dd92d
Redo the support for dynamic locks.  First of all, it was terribly
insecure, so a static lock is added to isolate the sensitive parts.
Also, to avoid one thread freeing a lock that is used by another, a
reference counter is added.
crypto/cryptlib.c
crypto/crypto.h