[tor-bugs] #3894 [Tor]: Fix compilation on FreeBSD 4

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Feb 13 09:46:22 UTC 2013


#3894: Fix compilation on FreeBSD 4
-----------------------+----------------------------------------------------
    Reporter:  nickm   |       Owner:                    
        Type:  defect  |      Status:  reopened          
    Priority:  normal  |   Milestone:  Tor: 0.2.4.x-final
   Component:  Tor     |     Version:  Tor: 0.2.3.25     
  Resolution:          |    Keywords:  tor-client        
      Parent:          |      Points:                    
Actualpoints:          |  
-----------------------+----------------------------------------------------

Comment(by grarpamp):

 build fix for 0.2.4.10

 --- src/ext/curve25519_donna/curve25519-donna.c.orig    Fri Jan 25
 13:52:45 2013
 +++ src/ext/curve25519_donna/curve25519-donna.c
 @@ -47,7 +47,11 @@
   */

  #include <string.h>
 +#ifndef HAVE_STDINT_H
 +#include <inttypes.h>
 +#else
  #include <stdint.h>
 +#endif

  typedef uint8_t u8;
  typedef int32_t s32;


 Remaining 0.2.4.10 nits:

 src/or/circuitmux.c:1011: warning: `last_searched_direction' might be used
 uninitialized in this function
 src/or/control.c:2686: warning: `exit_digest' might be used uninitialized
 in this function
 src/or/routerparse.c:947: warning: `signed_desc' might be used
 uninitialized in this function

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3894#comment:21>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list