Skip to content
Snippets Groups Projects
  1. Oct 31, 2019
  2. Oct 28, 2019
  3. Oct 26, 2019
  4. Oct 25, 2019
    • Nick Mathewson's avatar
      Make foo_validate() functions call config_validate(). · dc6d7f07
      Nick Mathewson authored
      The former foo_validate() functions are now toplevel
      legacy_validate_fn callbacks.  The new foo_validate() functions now
      call them.
      
      This change lets us remove the old shared_random disk state
      validation callback entirely.
      dc6d7f07
    • Nick Mathewson's avatar
      Rename validate_fn{,_t} to start with "legacy_". · 4a248baf
      Nick Mathewson authored
      The current API of this callback mixes responsibilities, including:
        * validation
        * transition checking
        * processing (modifying) the configuration object.
      
      These will have to be disentangled piece by piece, so for now, we'll
      have "legacy" validate functions as well.
      
      This is an automated commit, generated by this command:
      
      ./scripts/maint/rename_c_identifier.py \
              validate_fn_t legacy_validate_fn_t \
              validate_fn legacy_validate_fn
      4a248baf
    • Nick Mathewson's avatar
      Use named-member syntax for initializing config_format_t objects · 27dbf20b
      Nick Mathewson authored
      I'm about to mess with their lists of callbacks, and I don't want to
      proliferate lists where we say "NULL, NULL, NULL, ..."
      27dbf20b
  5. Oct 24, 2019
  6. Oct 23, 2019
    • David Goulet's avatar
      hs-v3: Remove the circuit_established intro flag · b6c24eb4
      David Goulet authored
      
      Only use the HS circuit map to know if an introduction circuit is established
      or not. No need for a flag to keep state of something we already have in the
      circuit map. Furthermore, the circuit map gets cleaned up properly so it will
      always have the "latest truth".
      
      This commit also removes a unit test that was testing specifically that flag
      but now we rely solely on the HS circuit map which is also tested few lines
      below the removed test.
      
      Fixes #32094
      
      Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
      b6c24eb4
  7. Oct 22, 2019
  8. Oct 21, 2019
  9. Oct 20, 2019
  10. Oct 17, 2019
  11. Oct 16, 2019
Loading