Changeset 127 for trunk


Ignore:
Timestamp:
03/01/17 20:53:39 (8 years ago)
Author:
tim
Message:

.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/bletchley/ssltls.py

    r126 r127  
    9898    conn = None
    9999    for pname,p,cl in protocols:
    100         serverSock = socket.socket()
    101         serverSock.connect((host,port))
    102         if timeout:
    103             serverSock.settimeout(timeout)
    104 
    105100        try:
     101            serverSock = socket.socket()
     102            serverSock.connect((host,port))
     103            if timeout:
     104                serverSock.settimeout(timeout)
     105           
    106106            if handshake_callback:
    107107                if not handshake_callback(serverSock):
Note: See TracChangeset for help on using the changeset viewer.