New function CRYPTO_num_locks.
This commit is contained in:
parent
2de625408a
commit
a111306bbc
5
CHANGES
5
CHANGES
@ -4,6 +4,11 @@
|
|||||||
|
|
||||||
Changes between 0.9.3a and 0.9.4
|
Changes between 0.9.3a and 0.9.4
|
||||||
|
|
||||||
|
*) New function "CRYPTO_num_locks" that returns CRYPTO_NUM_LOCKS.
|
||||||
|
Whoever hopes to achieve shared-library compatibility across versions
|
||||||
|
must use this, not the compile-time macro.
|
||||||
|
[Bodo Moeller]
|
||||||
|
|
||||||
*) Add missing case to s3_clnt.c state machine -- one of the new SSL tests
|
*) Add missing case to s3_clnt.c state machine -- one of the new SSL tests
|
||||||
through a BIO pair triggered the default case, i.e.
|
through a BIO pair triggered the default case, i.e.
|
||||||
SSLerr(...,SSL_R_UNKNOWN_STATE).
|
SSLerr(...,SSL_R_UNKNOWN_STATE).
|
||||||
|
@ -133,6 +133,11 @@ int CRYPTO_get_new_lockid(char *name)
|
|||||||
return(i);
|
return(i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int CRYPTO_num_locks(void)
|
||||||
|
{
|
||||||
|
return CRYPTO_NUM_LOCKS;
|
||||||
|
}
|
||||||
|
|
||||||
void (*CRYPTO_get_locking_callback(void))(int mode,int type,const char *file,
|
void (*CRYPTO_get_locking_callback(void))(int mode,int type,const char *file,
|
||||||
int line)
|
int line)
|
||||||
{
|
{
|
||||||
|
@ -256,6 +256,8 @@ void CRYPTO_new_ex_data(STACK *meth, char *obj, CRYPTO_EX_DATA *ad);
|
|||||||
|
|
||||||
int CRYPTO_mem_ctrl(int mode);
|
int CRYPTO_mem_ctrl(int mode);
|
||||||
int CRYPTO_get_new_lockid(char *name);
|
int CRYPTO_get_new_lockid(char *name);
|
||||||
|
|
||||||
|
int CRYPTO_num_locks(void); /* return CRYPTO_NUM_LOCKS (shared libs!) */
|
||||||
void CRYPTO_lock(int mode, int type,const char *file,int line);
|
void CRYPTO_lock(int mode, int type,const char *file,int line);
|
||||||
void CRYPTO_set_locking_callback(void (*func)(int mode,int type,
|
void CRYPTO_set_locking_callback(void (*func)(int mode,int type,
|
||||||
const char *file,int line));
|
const char *file,int line));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user