mirror of
https://github.com/J08nY/std-curves.git
synced 2026-01-08 21:07:57 -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.")
|
print(f"Curve {category}/{curve['name']} has empty OID value.")
|
||||||
continue
|
continue
|
||||||
url = f"http://oid-info.com/get/{oid}"
|
url = f"http://oid-info.com/get/{oid}"
|
||||||
r = requests.get(url)
|
r = requests.get(url, timeout=5)
|
||||||
if r.status_code != 200:
|
if r.status_code != 200:
|
||||||
print(f"Curve {category}/{curve['name']} has bad OID, return code {r.status_code}!")
|
print(f"Curve {category}/{curve['name']} has bad OID, return code {r.status_code}!")
|
||||||
result = 1
|
result = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user