Skip to content

Commit 0a8d838

Browse files
committed
Prepare /v3
Update go.mod and imports for /v3
1 parent b6fd38e commit 0a8d838

113 files changed

Lines changed: 302 additions & 302 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

bench_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010
"testing"
1111
"time"
1212

13-
"github.com/pion/dtls/v2/pkg/crypto/selfsign"
14-
dtlsnet "github.com/pion/dtls/v2/pkg/net"
13+
"github.com/pion/dtls/v3/pkg/crypto/selfsign"
14+
dtlsnet "github.com/pion/dtls/v3/pkg/net"
1515
"github.com/pion/logging"
1616
"github.com/pion/transport/v3/dpipe"
1717
"github.com/pion/transport/v3/test"

certificate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"fmt"
1111
"strings"
1212

13-
"github.com/pion/dtls/v2/pkg/protocol/handshake"
13+
"github.com/pion/dtls/v3/pkg/protocol/handshake"
1414
)
1515

1616
// ClientHelloInfo contains information from a ClientHello message in order to

certificate_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"reflect"
99
"testing"
1010

11-
"github.com/pion/dtls/v2/pkg/crypto/selfsign"
11+
"github.com/pion/dtls/v3/pkg/crypto/selfsign"
1212
)
1313

1414
func TestGetCertificate(t *testing.T) {

cipher_suite.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import (
1111
"fmt"
1212
"hash"
1313

14-
"github.com/pion/dtls/v2/internal/ciphersuite"
15-
"github.com/pion/dtls/v2/pkg/crypto/clientcertificate"
16-
"github.com/pion/dtls/v2/pkg/protocol/recordlayer"
14+
"github.com/pion/dtls/v3/internal/ciphersuite"
15+
"github.com/pion/dtls/v3/pkg/crypto/clientcertificate"
16+
"github.com/pion/dtls/v3/pkg/protocol/recordlayer"
1717
)
1818

1919
// CipherSuiteID is an ID for our supported CipherSuites

cipher_suite_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"testing"
99
"time"
1010

11-
"github.com/pion/dtls/v2/internal/ciphersuite"
12-
dtlsnet "github.com/pion/dtls/v2/pkg/net"
11+
"github.com/pion/dtls/v3/internal/ciphersuite"
12+
dtlsnet "github.com/pion/dtls/v3/pkg/net"
1313
"github.com/pion/transport/v3/dpipe"
1414
"github.com/pion/transport/v3/test"
1515
)

compression_method.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
package dtls
55

6-
import "github.com/pion/dtls/v2/pkg/protocol"
6+
import "github.com/pion/dtls/v3/pkg/protocol"
77

88
func defaultCompressionMethods() []*protocol.CompressionMethod {
99
return []*protocol.CompressionMethod{

config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import (
1313
"net"
1414
"time"
1515

16-
"github.com/pion/dtls/v2/pkg/crypto/elliptic"
17-
"github.com/pion/dtls/v2/pkg/protocol/handshake"
16+
"github.com/pion/dtls/v3/pkg/crypto/elliptic"
17+
"github.com/pion/dtls/v3/pkg/protocol/handshake"
1818
"github.com/pion/logging"
1919
)
2020

config_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"errors"
1212
"testing"
1313

14-
"github.com/pion/dtls/v2/pkg/crypto/selfsign"
14+
"github.com/pion/dtls/v3/pkg/crypto/selfsign"
1515
)
1616

1717
func TestValidateConfig(t *testing.T) {

conn.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ import (
1414
"sync/atomic"
1515
"time"
1616

17-
"github.com/pion/dtls/v2/internal/closer"
18-
"github.com/pion/dtls/v2/pkg/crypto/elliptic"
19-
"github.com/pion/dtls/v2/pkg/crypto/signaturehash"
20-
"github.com/pion/dtls/v2/pkg/protocol"
21-
"github.com/pion/dtls/v2/pkg/protocol/alert"
22-
"github.com/pion/dtls/v2/pkg/protocol/handshake"
23-
"github.com/pion/dtls/v2/pkg/protocol/recordlayer"
17+
"github.com/pion/dtls/v3/internal/closer"
18+
"github.com/pion/dtls/v3/pkg/crypto/elliptic"
19+
"github.com/pion/dtls/v3/pkg/crypto/signaturehash"
20+
"github.com/pion/dtls/v3/pkg/protocol"
21+
"github.com/pion/dtls/v3/pkg/protocol/alert"
22+
"github.com/pion/dtls/v3/pkg/protocol/handshake"
23+
"github.com/pion/dtls/v3/pkg/protocol/recordlayer"
2424
"github.com/pion/logging"
2525
"github.com/pion/transport/v3/deadline"
2626
"github.com/pion/transport/v3/netctx"

conn_go_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ import (
1515
"testing"
1616
"time"
1717

18-
"github.com/pion/dtls/v2/pkg/crypto/selfsign"
19-
dtlsnet "github.com/pion/dtls/v2/pkg/net"
18+
"github.com/pion/dtls/v3/pkg/crypto/selfsign"
19+
dtlsnet "github.com/pion/dtls/v3/pkg/net"
2020
"github.com/pion/transport/v3/dpipe"
2121
"github.com/pion/transport/v3/test"
2222
)

0 commit comments

Comments
 (0)