diff --git a/server_tls.go b/server_tls.go
index <HASH>..<HASH> 100644
--- a/server_tls.go
+++ b/server_tls.go
@@ -15,20 +15,6 @@ import (
 	"github.com/lucas-clemente/quic-go/qerr"
 )
 
-type nullAEAD struct {
-	aead crypto.AEAD
-}
-
-var _ quicAEAD = &nullAEAD{}
-
-func (n *nullAEAD) OpenHandshake(dst, src []byte, packetNumber protocol.PacketNumber, associatedData []byte) ([]byte, error) {
-	return n.aead.Open(dst, src, packetNumber, associatedData)
-}
-
-func (n *nullAEAD) Open1RTT(dst, src []byte, packetNumber protocol.PacketNumber, associatedData []byte) ([]byte, error) {
-	return nil, errors.New("no 1-RTT keys")
-}
-
 type tlsSession struct {
 	connID protocol.ConnectionID
 	sess   packetHandler
remove unused nullAEAD struct in the quic package