[tor-bugs] #7972 [Tor]: configure fails to detect nacl

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jan 16 17:47:58 UTC 2013


#7972: configure fails to detect nacl
--------------------+-------------------------------------------------------
 Reporter:  weasel  |          Owner:                    
     Type:  defect  |         Status:  needs_review      
 Priority:  normal  |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor     |        Version:  Tor: 0.2.4.8-alpha
 Keywords:          |         Parent:                    
   Points:          |   Actualpoints:                    
--------------------+-------------------------------------------------------

Comment(by weasel):

 ...
 checking crypto_scalarmult_curve25519.h usability... no
 checking crypto_scalarmult_curve25519.h presence... no
 checking for crypto_scalarmult_curve25519.h... no
 checking nacl/crypto_scalarmult_curve25519.h usability... yes
 checking nacl/crypto_scalarmult_curve25519.h presence... yes
 checking for nacl/crypto_scalarmult_curve25519.h... yes
 checking whether we can use curve25519 from nacl... yes

 [sid-amd64-sbuild] weasel at dixie:~/tor-tree/tor$ grep -i '^#define.*curve'
 orconfig.h
 #define CURVE25519_ENABLED 1
 #define HAVE_NACL_CRYPTO_SCALARMULT_CURVE25519_H 1
 #define USE_CURVE25519_DONNA 1

 [sid-amd64-sbuild] weasel at dixie:~/tor-tree/tor$ grep 'tor_.*can_use_curve'
 config.log
 tor_cv_can_use_curve25519_donna_c64=yes
 tor_cv_can_use_curve25519_nacl=yes


 and
 checking crypto_scalarmult_curve25519.h usability... no
 checking crypto_scalarmult_curve25519.h presence... no
 checking for crypto_scalarmult_curve25519.h... no
 checking nacl/crypto_scalarmult_curve25519.h usability... yes
 checking nacl/crypto_scalarmult_curve25519.h presence... yes
 checking for nacl/crypto_scalarmult_curve25519.h... yes
 checking whether we can use curve25519 from nacl... yes

 [sid-i386-sbuild] weasel at dixie:~/tor-tree-i386/tor$ grep -i
 '^#define.*curve' orconfig.h
 #define CURVE25519_ENABLED 1
 #define HAVE_NACL_CRYPTO_SCALARMULT_CURVE25519_H 1
 #define USE_CURVE25519_NACL 1

 [sid-i386-sbuild] weasel at dixie:~/tor-tree-i386/tor$ grep
 'tor_.*can_use_curve' config.log
 tor_cv_can_use_curve25519_donna_c64=no
 tor_cv_can_use_curve25519_nacl=yes


 I think this means it works.
 --
 weasel

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


More information about the tor-bugs mailing list