This commit is contained in:
Miek Gieben 2011-12-09 21:45:57 +01:00
parent 2e0a4a5e34
commit 131f6962d1
12 changed files with 44 additions and 44 deletions

View File

@ -8,11 +8,11 @@
package dns
import (
"os"
"bufio"
"net"
"os"
"strconv"
"strings"
"net"
)
// Wraps the contents of the /etc/resolv.conf.

View File

@ -1,8 +1,8 @@
package dns
import (
"testing"
"strings"
"testing"
)
func TestSecure(t *testing.T) {

View File

@ -1,8 +1,8 @@
package dns
import (
"strconv"
"encoding/hex"
"strconv"
)
// EDNS0 Option codes.

View File

@ -1,13 +1,13 @@
package dns
import (
"io"
"math/big"
"strconv"
"crypto/rsa"
"crypto/ecdsa"
"crypto/elliptic"
"crypto/rand"
"crypto/rsa"
"io"
"math/big"
"strconv"
)
// Empty interface that is used as a wrapper around all possible

View File

@ -1,9 +1,9 @@
package dns
import (
"crypto/sha1"
"hash"
"strings"
"crypto/sha1"
)
type saltWireFmt struct {

View File

@ -4,9 +4,9 @@ import (
// "os"
// "time"
// "bufio"
"crypto/rsa"
"strings"
"testing"
"crypto/rsa"
)
func TestSign(t *testing.T) {

View File

@ -7,9 +7,9 @@ package dns
import (
"io"
// "net"
"time"
"strings"
"strconv"
"strings"
"time"
)
const _IOBUF = MaxMsgSize