From 9363f356bd5a4fb7a45861ceac79033473f4c068 Mon Sep 17 00:00:00 2001 From: Alok Menghrajani <441307+alokmenghrajani@users.noreply.github.com> Date: Sat, 3 Sep 2022 21:16:49 +0000 Subject: [PATCH] math/big: replace dead link in a comment with link to an archive.org copy Happy to use another service if web.archive.org isn't suitable. Note: the original page redirects and then links to some nsfw content. Change-Id: Ie93ca0c6aad871881f35b7e5609b96da5c14cfc0 GitHub-Last-Rev: ced5a97eb5c1d954a04d4bb61d36d955ca45a6ab GitHub-Pull-Request: golang/go#54857 Reviewed-on: https://go-review.googlesource.com/c/go/+/428236 Reviewed-by: Keith Randall Auto-Submit: Keith Randall Reviewed-by: Robert Griesemer Reviewed-by: Keith Randall --- src/math/big/prime.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/math/big/prime.go b/src/math/big/prime.go index d9a5f1ec96..a06378956a 100644 --- a/src/math/big/prime.go +++ b/src/math/big/prime.go @@ -141,7 +141,7 @@ NextRandom: // // Jacobsen, "Pseudoprime Statistics, Tables, and Data", http://ntheory.org/pseudoprimes.html. // -// Nicely, "The Baillie-PSW Primality Test", http://www.trnicely.net/misc/bpsw.html. +// Nicely, "The Baillie-PSW Primality Test", https://web.archive.org/web/20191121062007/http://www.trnicely.net/misc/bpsw.html. // (Note that Nicely's definition of the "extra strong" test gives the wrong Jacobi condition, // as pointed out by Jacobsen.) //