diff --git a/ChangeLog b/ChangeLog index 81bafe9a5..7becbcd58 100644 --- a/ChangeLog +++ b/ChangeLog @@ -15,6 +15,7 @@ Bugfix * Const correctness * Possible naming collision in dhm_context * Better support for MSVC + * threading_set_alt() name = PolarSSL-1.3.0 released on 2013-10-01 Features diff --git a/library/threading.c b/library/threading.c index e79348aa3..659aa7e4b 100644 --- a/library/threading.c +++ b/library/threading.c @@ -117,7 +117,7 @@ int (*polarssl_mutex_free)( threading_mutex_t * ) = NULL; int (*polarssl_mutex_lock)( threading_mutex_t * ) = NULL; int (*polarssl_mutex_unlock)( threading_mutex_t * ) = NULL; -int threading_set_own( int (*mutex_init)( threading_mutex_t * ), +int threading_set_alt( int (*mutex_init)( threading_mutex_t * ), int (*mutex_free)( threading_mutex_t * ), int (*mutex_lock)( threading_mutex_t * ), int (*mutex_unlock)( threading_mutex_t * ) )