release process: update dependencies (#280)
Part of the check-list at https://github.com/ooni/probe/issues/1369
This commit is contained in:
+1
-3
@@ -1,5 +1,3 @@
|
||||
// +build !go1.15
|
||||
|
||||
package quicdialer
|
||||
|
||||
import (
|
||||
@@ -10,5 +8,5 @@ import (
|
||||
|
||||
// ConnectionState returns the ConnectionState of a QUIC Session.
|
||||
func ConnectionState(sess quic.EarlySession) tls.ConnectionState {
|
||||
return tls.ConnectionState{}
|
||||
return sess.ConnectionState().TLS.ConnectionState
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
// +build go1.15
|
||||
|
||||
package quicdialer
|
||||
|
||||
import (
|
||||
"crypto/tls"
|
||||
|
||||
"github.com/lucas-clemente/quic-go"
|
||||
)
|
||||
|
||||
// ConnectionState returns the ConnectionState of a QUIC Session.
|
||||
func ConnectionState(sess quic.EarlySession) tls.ConnectionState {
|
||||
return sess.ConnectionState().ConnectionState
|
||||
}
|
||||
Reference in New Issue
Block a user