Created
January 9, 2012 20:44
-
-
Save bortzmeyer/1584838 to your computer and use it in GitHub Desktop.
Patch to address issue #9 of Godns
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/dnssec.go b/dnssec.go | |
index dae4bbf..b539560 100644 | |
--- a/dnssec.go | |
+++ b/dnssec.go | |
@@ -14,7 +14,7 @@ import ( | |
"encoding/hex" | |
"hash" | |
"io" | |
- "math/big" | |
+ "big" | |
"sort" | |
"strings" | |
"time" | |
diff --git a/keygen.go b/keygen.go | |
index 0fa6d14..9e2eff8 100644 | |
--- a/keygen.go | |
+++ b/keygen.go | |
@@ -5,7 +5,7 @@ import ( | |
"crypto/elliptic" | |
"crypto/rand" | |
"crypto/rsa" | |
- "math/big" | |
+ "big" | |
"strconv" | |
) | |
diff --git a/kscan.go b/kscan.go | |
index 0ed3173..494531b 100644 | |
--- a/kscan.go | |
+++ b/kscan.go | |
@@ -4,9 +4,9 @@ import ( | |
"crypto/ecdsa" | |
"crypto/rsa" | |
"io" | |
- "math/big" | |
+ "big" | |
"strings" | |
- "text/scanner" | |
+ "scanner" | |
) | |
// ReadPrivateKey reads a private key from the io.Reader q. | |
diff --git a/msg.go b/msg.go | |
index 4cf67e0..6f6717f 100644 | |
--- a/msg.go | |
+++ b/msg.go | |
@@ -18,7 +18,7 @@ import ( | |
"encoding/base32" | |
"encoding/base64" | |
"encoding/hex" | |
- "math/rand" | |
+ "rand" | |
"net" | |
"reflect" | |
"strconv" | |
diff --git a/zscan.go b/zscan.go | |
index 106ac8c..55ab695 100644 | |
--- a/zscan.go | |
+++ b/zscan.go | |
@@ -5,7 +5,7 @@ import ( | |
"io" | |
"strconv" | |
"strings" | |
- "text/scanner" | |
+ "scanner" | |
) | |
// Only used when debugging the parser itself. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment