Index: chrome/browser/chromeos/login/test/https_forwarder.py |
diff --git a/chrome/browser/chromeos/login/test/https_forwarder.py b/chrome/browser/chromeos/login/test/https_forwarder.py |
index eaa0db22b11e7f0e9f096aa01489c0b79b62379b..5163220d4f1ce3935b53c352887fc64fde7690cc 100644 |
--- a/chrome/browser/chromeos/login/test/https_forwarder.py |
+++ b/chrome/browser/chromeos/login/test/https_forwarder.py |
@@ -84,7 +84,8 @@ class MultiThreadedHTTPSServer(SocketServer.ThreadingMixIn, |
request_hander_class: The class that will handle requests to the server. |
pem_cert_and_key: Path to file containing the https cert and private key. |
""" |
- self.cert_chain = tlslite.api.X509CertChain().parseChain(pem_cert_and_key) |
+ self.cert_chain = tlslite.api.X509CertChain() |
+ self.cert_chain.parsePemList(pem_cert_and_key) |
# Force using only python implementation - otherwise behavior is different |
# depending on whether m2crypto Python module is present (error is thrown |
# when it is). m2crypto uses a C (based on OpenSSL) implementation under |