[tor-commits] [stem/master] Minor post-rebase revisions

atagar at torproject.org atagar at torproject.org
Thu Jul 19 16:01:03 UTC 2012


commit e6700902cd914922515f17179ee1e8e97a5af507
Author: Damian Johnson <atagar at torproject.org>
Date:   Thu Jul 19 08:55:30 2012 -0700

    Minor post-rebase revisions
    
    Just a couple things I spotted after rebasing my exit_policy branch onto the
    current master.
---
 stem/exit_policy.py     |    2 +-
 stem/util/connection.py |    3 +++
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/stem/exit_policy.py b/stem/exit_policy.py
index 49a6cef..0337a6b 100644
--- a/stem/exit_policy.py
+++ b/stem/exit_policy.py
@@ -27,7 +27,7 @@ exiting to a destination is permissable or not. For instance...
     |- summary - provides a short label, similar to a microdescriptor
     |- __str__  - string representation
     +- __iter__ - ExitPolicyRule entries that this contains
-
+  
   ExitPolicyRule - Single rule of an exit policy chain
     |- is_address_wildcard - checks if we'll accept any address
     |- is_port_wildcard - checks if we'll accept any port
diff --git a/stem/util/connection.py b/stem/util/connection.py
index e1e8890..eda3569 100644
--- a/stem/util/connection.py
+++ b/stem/util/connection.py
@@ -15,6 +15,9 @@ but for now just moving the parts we need.
   get_mask_ipv6 - provides the IPv6 mask representation for a given number of bits
   get_binary - provides the binary representation for an integer with padding
   get_address_binary - provides the binary representation for an address
+  
+  hmac_sha256 - provides a sha256 digest
+  cryptovariables_equal - string comparison for cryptographic operations
 """
 
 import os





More information about the tor-commits mailing list