Browse Source

typos: hsts->hpkp

Tommy Murphy 3 years ago
parent
commit
0d0b51aaef
2 changed files with 2 additions and 2 deletions
  1. 1 1
      dialer.go
  2. 1 1
      storage.go

+ 1 - 1
dialer.go

@@ -7,7 +7,7 @@ import (
 	"strings"
 )
 
-// Storage is threadsafe hsts storage interface
+// Storage is threadsafe hpkp storage interface
 type Storage interface {
 	Lookup(host string) *Header
 	Add(host string, d *Header)

+ 1 - 1
storage.go

@@ -11,7 +11,7 @@ type MemStorage struct {
 	mutex   sync.Mutex
 }
 
-// NewMemStorage initializes hsts in-memory datastructure
+// NewMemStorage initializes hpkp in-memory datastructure
 func NewMemStorage() *MemStorage {
 	m := &MemStorage{}
 	m.domains = make(map[string]Header)