forked from quic-go/quic-go
change Signer interface to return errors
This commit is contained in:
@@ -39,11 +39,11 @@ func (s *mockSigner) SignServerProof(sni string, chlo []byte, serverConfigData [
|
||||
}
|
||||
return []byte("proof"), nil
|
||||
}
|
||||
func (*mockSigner) GetCertCompressed(sni string) []byte {
|
||||
return []byte("certcompressed")
|
||||
func (*mockSigner) GetCertCompressed(sni string) ([]byte, error) {
|
||||
return []byte("certcompressed"), nil
|
||||
}
|
||||
func (*mockSigner) GetCertUncompressed(sni string) []byte {
|
||||
return []byte("certuncompressed")
|
||||
func (*mockSigner) GetCertUncompressed(sni string) ([]byte, error) {
|
||||
return []byte("certuncompressed"), nil
|
||||
}
|
||||
|
||||
type mockAEAD struct {
|
||||
|
||||
Reference in New Issue
Block a user