mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-05 05:07:36 +03:00
20 lines
409 B
Go
20 lines
409 B
Go
// +build !go1.15
|
|
// +build !go1.16
|
|
|
|
package qtls
|
|
|
|
import (
|
|
"crypto/tls"
|
|
|
|
. "github.com/onsi/ginkgo"
|
|
. "github.com/onsi/gomega"
|
|
)
|
|
|
|
var _ = Describe("qtls wrapper", func() {
|
|
It("gets cipher suites", func() {
|
|
for _, id := range []uint16{tls.TLS_AES_128_GCM_SHA256, tls.TLS_AES_256_GCM_SHA384, tls.TLS_CHACHA20_POLY1305_SHA256} {
|
|
cs := CipherSuiteTLS13ByID(id)
|
|
Expect(cs.ID).To(Equal(id))
|
|
}
|
|
})
|
|
})
|