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

Unified Diff: third_party/tlslite/tlslite/X509.py

Issue 9515015: Support reading PEM files in TLSLite (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix pem blocks Created 8 years, 10 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
Index: third_party/tlslite/tlslite/X509.py
diff --git a/third_party/tlslite/tlslite/X509.py b/third_party/tlslite/tlslite/X509.py
index d8b8bccb1414c62093fbfb3e20259ea711bfe2a3..a32d879a3a7aa15686029c2a7d1d901ba13ba85d 100644
--- a/third_party/tlslite/tlslite/X509.py
+++ b/third_party/tlslite/tlslite/X509.py
@@ -99,6 +99,7 @@ class X509:
#Create a public key instance
self.publicKey = _createPublicRSAKey(n, e)
+ return self
wtc 2012/03/02 23:32:18 Is it a bug for a method to be missing a return st
def getFingerprint(self):
"""Get the hex-encoded fingerprint of this certificate.

Powered by Google App Engine
This is Rietveld 408576698