Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Unified Diff: third_party/tlslite/tlslite/utils/rc4.py

Issue 210323002: Update tlslite to 0.4.6. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Executable bit and --similarity=80 Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/tlslite/tlslite/utils/python_rsakey.py ('k') | third_party/tlslite/tlslite/utils/rijndael.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/tlslite/tlslite/utils/rc4.py
diff --git a/third_party/tlslite/tlslite/utils/rc4.py b/third_party/tlslite/tlslite/utils/rc4.py
index 550692327cef75594719b5972996c47374cc5945..809026a21ce9ba42374ccf28f4713e1103b01f90 100644
--- a/third_party/tlslite/tlslite/utils/rc4.py
+++ b/third_party/tlslite/tlslite/utils/rc4.py
@@ -1,8 +1,10 @@
+# Author: Trevor Perrin
+# See the LICENSE file for legal information regarding use of this file.
+
"""Abstract class for RC4."""
-from compat import * #For False
-class RC4:
+class RC4(object):
def __init__(self, keyBytes, implementation):
if len(keyBytes) < 16 or len(keyBytes) > 256:
raise ValueError()
« no previous file with comments | « third_party/tlslite/tlslite/utils/python_rsakey.py ('k') | third_party/tlslite/tlslite/utils/rijndael.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698