1. 03 Jun, 2011 1 commit
    • Nick Mathewson's avatar
      Reject 128-byte keys that are not 1024-bit · bbf2fee8
      Nick Mathewson authored
      When we added the check for key size, we required that the keys be
      128 bytes.  But RSA_size (which defers to BN_num_bytes) will return
      128 for keys of length 1017..1024.  This patch adds a new
      crypto_pk_num_bits() that returns the actual number of significant
      bits in the modulus, and uses that to enforce key sizes.
      
      Also, credit the original bug3318 in the changes file.
      bbf2fee8
  2. 01 Jun, 2011 2 commits
    • Gisle's avatar
      Fix compile error in procmon.c · 1d8bcba0
      Gisle authored and Nick Mathewson's avatar Nick Mathewson committed
      An elusive compile-error (MingW-gcc v4.50 on Win_XP); a missing
      comma (!) and a typo ('err_msg' at line 277 changed to 'errmsg').
      Aso changed the format for 'err_code' at line 293 into a "%ld" to suppress
      a warning. How did this go unnoticed for ~1 month? Btw. This is my 1st ever
      'git commit', so it better work.
      1d8bcba0
    • Nick Mathewson's avatar
      Report wrong key sizes correctly · 0fd3ad75
      Nick Mathewson authored
      When we introduced NEED_KEY_1024 in routerparse.c back in
      0.2.0.1-alpha, I forgot to add a *8 when logging the length of a
      bad-length key.
      
      Bugfix for 3318 on 0.2.0.1-alpha.
      0fd3ad75
  3. 31 May, 2011 1 commit
    • Roger Dingledine's avatar
      stop asserting at boot · 56771f39
      Roger Dingledine authored
      The patch for 3228 made us try to run init_keys() before we had loaded
      our state file, resulting in an assert inside init_keys. We had moved
      it too early in the function.
      
      Now it's later in the function, but still above the accounting calls.
      56771f39
  4. 30 May, 2011 13 commits
  5. 29 May, 2011 1 commit
  6. 28 May, 2011 4 commits
  7. 24 May, 2011 2 commits
  8. 23 May, 2011 8 commits
  9. 21 May, 2011 6 commits
  10. 20 May, 2011 2 commits