@ -47,6 +47,7 @@ try:
ssock.settimeout(20)
try:
ssock.connect(("localhost", port1))
mosq_test.do_send_receive(ssock, connect_packet, "", "connack")
except ssl.SSLError as err:
if err.errno == 1:
rc = 0
@ -44,6 +44,7 @@ try:
if err.errno == 1 and "certificate revoked" in err.strerror:
@ -45,6 +45,7 @@ ssock = ssl.wrap_socket(sock, ca_certs="../ssl/test-root-ca.crt", cert_reqs=ssl.