Tests: fixed tests to work without openssl support.

This commit is contained in:
Andrei Zeliankou
2021-02-23 22:25:47 +00:00
parent af3b6ef37d
commit d0591f07d7

View File

@@ -470,6 +470,9 @@ def _clear_conf(sock, log=None):
check_success(resp)
if 'openssl' not in option.available['modules']:
return
try:
certs = json.loads(http.get(
url='/certificates',