Changeset 4241f3c for fedd/federation/util.py
- Timestamp:
- Dec 6, 2012 9:41:05 AM (12 years ago)
- Branches:
- master
- Children:
- 84623c3
- Parents:
- f1302d1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fedd/federation/util.py
rf1302d1 r4241f3c 68 68 Simple wrapper around an M2Crypto.SSL.Context to initialize it for fedd. 69 69 """ 70 def __init__(self, my_cert, trusted_certs=None, password=None ):70 def __init__(self, my_cert, trusted_certs=None, password=None, protocol=None): 71 71 """ 72 72 construct a fedd_ssl_context … … 75 75 @param trusted_certs: PEM file with trusted certs in it (optional) 76 76 """ 77 SSL.Context.__init__(self) 77 if protocol: SSL.Context.__init__(self, protocol=protocol) 78 else: SSL.Context.__init__(self) 78 79 79 80 # load_cert takes a callback to get a password, not a password, so if
Note: See TracChangeset
for help on using the changeset viewer.