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

[tor-bugs] #19024 [Core Tor/Tor]: prop224: Refactor rend_data_t so be able to use multiple HS version



#19024: prop224: Refactor rend_data_t so be able to use multiple HS version
-------------------------------+--------------------------------
     Reporter:  dgoulet        |      Owner:  dgoulet
         Type:  enhancement    |     Status:  new
     Priority:  Medium         |  Milestone:  Tor: 0.2.9.x-final
    Component:  Core Tor/Tor   |    Version:
     Severity:  Normal         |   Keywords:  tor-hs, prop224
Actual Points:                 |  Parent ID:  #17238
       Points:                 |   Reviewer:
      Sponsor:  SponsorR-must  |
-------------------------------+--------------------------------
 Break `rend_data_t` into something that could looks like this (or maybe
 without a union...):

 {{{
 struct rend_data_t {
   uint32_t version; /* XXX: Maybe not necessary if our code flow doesn't
                      * require us to learn the version through that data
 struct. */
   union {
     hs_data_v2_t v2;
     hs_data_v3_t v3;
   } hs;
 };
 }}}

 Once we have such construction, we can use v3 with that data structure
 more cleanly.

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