[or-cvs] r16305: Fix seg fault in unit tests.  (tor/branches/121-hs-authorization/src/or)
    kloesing at seul.org 
    kloesing at seul.org
       
    Thu Jul 31 14:58:50 UTC 2008
    
    
  
Author: kloesing
Date: 2008-07-31 10:58:49 -0400 (Thu, 31 Jul 2008)
New Revision: 16305
Modified:
   tor/branches/121-hs-authorization/src/or/test.c
Log:
Fix seg fault in unit tests.
Modified: tor/branches/121-hs-authorization/src/or/test.c
===================================================================
--- tor/branches/121-hs-authorization/src/or/test.c	2008-07-31 14:25:59 UTC (rev 16304)
+++ tor/branches/121-hs-authorization/src/or/test.c	2008-07-31 14:58:49 UTC (rev 16305)
@@ -3846,7 +3846,7 @@
     smartlist_add(generated->intro_nodes, intro);
   }
   test_assert(rend_encode_v2_descriptors(descs, generated, now,
-                                         NULL, NULL, 0) > 0);
+                                         generated->pk, NULL, 0) > 0);
   test_assert(rend_compute_v2_desc_id(computed_desc_id, service_id_base32,
                                       NULL, now, 0) == 0);
   test_memeq(((rend_encoded_v2_service_descriptor_t *)
    
    
More information about the tor-commits
mailing list