Don't set *pointer if add_lock_callback used.

This commit is contained in:
Dr. Stephen Henson
2001-06-19 00:09:20 +00:00
parent dab4c2824f
commit 1b822decb8
2 changed files with 5 additions and 1 deletions

View File

@@ -430,7 +430,6 @@ int CRYPTO_add_lock(int *pointer, int amount, int type, const char *file,
CRYPTO_get_lock_name(type),
file,line);
#endif
*pointer=ret;
}
else
{