Skip to content
Snippets Groups Projects
  1. Mar 24, 2018
    • Nick Mathewson's avatar
      Basic unit tests for relay_crypto.c · 7db4d0c5
      Nick Mathewson authored
      These tests handle incoming and outgoing cells on a three-hop
      circuit, and make sure that the crypto works end-to-end.  They don't
      yet test spec conformance, leaky-pipe, or various error cases.
      7db4d0c5
  2. Mar 17, 2018
  3. Mar 13, 2018
  4. Mar 04, 2018
  5. Mar 03, 2018
  6. Mar 01, 2018
  7. Feb 21, 2018
  8. Feb 20, 2018
    • Nick Mathewson's avatar
      Remove a bunch of other redundant #includes · 4438ef32
      Nick Mathewson authored
      Folks have found two in the past week or so; we may as well fix the
      others.
      
      Found with:
      
      \#!/usr/bin/python3
      import re
      
      def findMulti(fname):
          includes = set()
          with open(fname) as f:
              for line in f:
                  m = re.match(r'^\s*#\s*include\s+["<](\S+)[>"]', line)
                  if m:
                      inc = m.group(1)
                      if inc in includes:
                          print("{}: {}".format(fname, inc))
                      includes.add(m.group(1))
      
      import sys
      for fname in sys.argv[1:]:
          findMulti(fname)
      4438ef32
  9. Feb 18, 2018
  10. Feb 16, 2018
Loading