aboutsummaryrefslogtreecommitdiff
path: root/desire.go
diff options
context:
space:
mode:
Diffstat (limited to 'desire.go')
-rw-r--r--desire.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/desire.go b/desire.go
index 5be5d3f..b945508 100644
--- a/desire.go
+++ b/desire.go
@@ -63,7 +63,7 @@ func (d *Desire) SaveCert(fname string) error {
return nil
}
-func (d *Desire) NewCSR() (string, error) {
+func (d *Desire) newCSR() (string, error) {
tmpl := x509.CertificateRequest{
Subject: pkix.Name{CommonName: d.altnames[0]},
}
@@ -86,7 +86,7 @@ func (d Desire) satisficed(c []Challenge, com []int) bool {
return true
}
-func (d Desire) Pick(a *Authorization) []Challenge {
+func (d Desire) pick(a *Authorization) []Challenge {
var c []Challenge
for _, com := range a.Combinations {
if d.satisficed(a.Challenges, com) {