[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs