changeset 38:8d23d76b5d48

Stop setting an id callback
author Adam Chlipala <adam@chlipala.net>
date Mon, 16 May 2011 22:31:26 -0400
parents e31baf0f275e
children f6b3fbf10dac
files src/c/openid.c
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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);