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 package dns
import ( import (
"os"
"bufio" "bufio"
"net"
"os"
"strconv" "strconv"
"strings" "strings"
"net"
) )
// Wraps the contents of the /etc/resolv.conf. // Wraps the contents of the /etc/resolv.conf.

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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