Changeset 4c340e9 for skype/skyped.py
- Timestamp:
- 2008-04-30T22:17:55Z (17 years ago)
- Branches:
- master
- Children:
- b0d40f5
- Parents:
- 140ffc8
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
skype/skyped.py
r140ffc8 r4c340e9 32 32 import sha 33 33 from ConfigParser import ConfigParser 34 from OpenSSL import SSL35 34 from traceback import print_exception 36 35 … … 76 75 global options 77 76 77 from OpenSSL import SSL 78 78 ctx = SSL.Context(SSL.TLSv1_METHOD) 79 79 ctx.use_privatekey_file(options.config.sslkey) 80 80 ctx.use_certificate_file(options.config.sslcert) 81 81 sock = SSL.Connection(ctx, socket.socket()) 82 82 83 sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) 83 84 sock.bind((host, port))
Note: See TracChangeset
for help on using the changeset viewer.