mirror of
https://github.com/J08nY/std-curves.git
synced 2026-01-07 20:43:59 -05:00
Bigger timeout for OID check.
This commit is contained in:
2
.github/workflows/oids.py
vendored
2
.github/workflows/oids.py
vendored
@@ -19,7 +19,7 @@ if __name__ == "__main__":
|
||||
print(f"Curve {category}/{curve['name']} has empty OID value.")
|
||||
continue
|
||||
url = f"http://oid-info.com/get/{oid}"
|
||||
r = requests.get(url)
|
||||
r = requests.get(url, timeout=5)
|
||||
if r.status_code != 200:
|
||||
print(f"Curve {category}/{curve['name']} has bad OID, return code {r.status_code}!")
|
||||
result = 1
|
||||
|
||||
Reference in New Issue
Block a user