1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

certauth: change 'get_cert_for_host' -> 'cert_for_host'

This commit is contained in:
Ilya Kreymer 2015-03-30 15:47:53 -07:00
parent dd30e3f2a7
commit 002fe6a338

View File

@ -252,7 +252,7 @@ class ProxyRouter(object):
hostname, port = env['REL_REQUEST_URI'].split(':')
if not self.use_wildcard:
certfile = self.ca.get_cert_for_host(hostname)
certfile = self.ca.cert_for_host(hostname)
else:
certfile = self.ca.get_wildcard_cert(hostname)