rename GetCertUncompressed to GetLeafCert

This commit is contained in:
Lucas Clemente
2016-05-11 11:39:59 +02:00
parent b1731773cf
commit 20655bac5a
4 changed files with 5 additions and 5 deletions

View File

@@ -203,7 +203,7 @@ func (h *CryptoSetup) handleCHLO(sni string, data []byte, cryptoData map[Tag][]b
h.mutex.Lock()
defer h.mutex.Unlock()
certUncompressed, err := h.scfg.signer.GetCertUncompressed(sni)
certUncompressed, err := h.scfg.signer.GetLeafCert(sni)
if err != nil {
return nil, err
}

View File

@@ -42,7 +42,7 @@ func (s *mockSigner) SignServerProof(sni string, chlo []byte, serverConfigData [
func (*mockSigner) GetCertCompressed(sni string) ([]byte, error) {
return []byte("certcompressed"), nil
}
func (*mockSigner) GetCertUncompressed(sni string) ([]byte, error) {
func (*mockSigner) GetLeafCert(sni string) ([]byte, error) {
return []byte("certuncompressed"), nil
}