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

[tor-bugs] #17253 [Tor]: Revise tests in test_tortls.c to not act intrusively on openssl internals



#17253: Revise tests in test_tortls.c to not act intrusively on openssl internals
------------------------------+------------------------------------
 Reporter:  nickm             |          Owner:
     Type:  defect            |         Status:  new
 Priority:  normal            |      Milestone:  Tor: 0.2.8.x-final
Component:  Tor               |        Version:
 Keywords:  testing SponsorS  |  Actual Points:
Parent ID:                    |         Points:
  Sponsor:                    |
------------------------------+------------------------------------
 With openssl 1.1, most openssl structures will become opaque.  But the new
 unit tests in test_tortls.c assume that they have full access to openssl
 internals.

 I've wrapped the tests that make this assumption inside `#ifndef
 OPENSSL_OPAQUE`, so that Tor will build with openssl 1.1 again.  But it
 would be great to see if we can port some of these tests to work with
 openssl 1.1, or at least disable the problematic parts on a more fine-
 grained basis.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/17253>
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