[tor-bugs] #9043 [Tor]: Replace `pkey_eq` with `EVP_PKEY_cmp`

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jun 10 15:37:18 UTC 2013


#9043: Replace `pkey_eq` with `EVP_PKEY_cmp`
-----------------------------+----------------------------------------------
 Reporter:  marek            |          Owner:       
     Type:  enhancement      |         Status:  new  
 Priority:  trivial          |      Milestone:       
Component:  Tor              |        Version:       
 Keywords:  easy tor-client  |         Parent:  #5170
   Points:                   |   Actualpoints:       
-----------------------------+----------------------------------------------
 In tortls.c the comment says:

 {{{
 /* We'd like to do this, but openssl 0.9.7 doesn't have it:
     return EVP_PKEY_cmp(a,b) == 1;
 */
 }}}

 Which is true, but AFAIK tor now depends on openssl 0.9.8 which seem to
 have this function:

 {{{
 openssl-0.9.8$ grep EVP_PKEY_cmp * -R
 crypto/evp/evp.h:int EVP_PKEY_cmp(const EVP_PKEY *a, const EVP_PKEY *b);
 }}}

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


More information about the tor-bugs mailing list