aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSawyer Billings <sawpaw19@gmail.com>2020-12-30 21:49:12 -0500
committerfanquake <fanquake@gmail.com>2021-01-04 12:23:16 +0800
commite8640849c775efcf202dbd34736fed8d61379c49 (patch)
tree61f54fc033bdd157d33e6afd89a96c929592beb3 /test
parentf52f427b8eece858844c395e47c378864acc242d (diff)
downloadbitcoin-e8640849c775efcf202dbd34736fed8d61379c49.tar.xz
doc: Use https URLs where possible
Diffstat (limited to 'test')
-rw-r--r--test/functional/test_framework/key.py2
-rw-r--r--test/functional/test_framework/netutil.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/test_framework/key.py b/test/functional/test_framework/key.py
index f3d13c049b..e0cbab45ce 100644
--- a/test/functional/test_framework/key.py
+++ b/test/functional/test_framework/key.py
@@ -27,7 +27,7 @@ def xor_bytes(b0, b1):
def jacobi_symbol(n, k):
"""Compute the Jacobi symbol of n modulo k
- See http://en.wikipedia.org/wiki/Jacobi_symbol
+ See https://en.wikipedia.org/wiki/Jacobi_symbol
For our application k is always prime, so this is the same as the Legendre symbol."""
assert k > 0 and k & 1, "jacobi symbol is only defined for positive odd k"
diff --git a/test/functional/test_framework/netutil.py b/test/functional/test_framework/netutil.py
index c98424e8e2..e047e7fa14 100644
--- a/test/functional/test_framework/netutil.py
+++ b/test/functional/test_framework/netutil.py
@@ -84,7 +84,7 @@ def get_bind_addrs(pid):
bind_addrs.append(conn[1])
return bind_addrs
-# from: http://code.activestate.com/recipes/439093/
+# from: https://code.activestate.com/recipes/439093/
def all_interfaces():
'''
Return all interfaces that are up