# HG changeset patch # User Adam Chlipala # Date 1305599486 14400 # Node ID 8d23d76b5d4854250b3f549d5c50e6be68d23cb2 # Parent e31baf0f275e1a7d37e0345b5fd3bd2a4a63f2bc Stop setting an id callback diff -r e31baf0f275e -r 8d23d76b5d48 src/c/openid.c --- a/src/c/openid.c Sat Apr 23 09:53:55 2011 -0400 +++ b/src/c/openid.c Mon May 16 22:31:26 2011 -0400 @@ -39,10 +39,6 @@ pthread_mutex_unlock(&locks[n]); } -static unsigned long id_function() { - return pthread_self(); -} - uw_unit uw_OpenidFfi_init(uw_context ctx) { int nl = CRYPTO_num_locks(), i; locks = malloc(sizeof(pthread_mutex_t) * nl); @@ -50,7 +46,6 @@ pthread_mutex_init(&locks[i], NULL); CRYPTO_set_locking_callback(locking_function); - CRYPTO_set_id_callback(id_function); curl_global_init(CURL_GLOBAL_ALL); BN_hex2bn(&default_prime, DEFAULT_PRIME);