Skip to content

Commit

Permalink
Add field to API docs and testdata.
Browse files Browse the repository at this point in the history
  • Loading branch information
grittygrease committed Jun 25, 2015
1 parent a42b0f1 commit c797d34
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ type SigningProfile struct {
NotAfter time.Time `json:"not_after"`
NameWhitelistString string `json:"name_whitelist"`

Policies []asn1.ObjectIdentifier
Policies []CertificatePolicy
Expiry time.Duration
Backdate time.Duration
Provider auth.Provider
Expand Down
1 change: 1 addition & 0 deletions doc/api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ mechanism and key "00000000000000000000000000000000".
"key encipherment",
"server auth"
]
"name_whitelist": "^.*\\.cloudflare.com$",
"auth_key": "myauthkey",
"remote": "myremoteserver"
}
Expand Down
3 changes: 2 additions & 1 deletion testdata/good_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"signing",
"key encipherment",
"server auth"
]
],
"name_whitelist": "^.*\\.cloudflare.com$"
}
}
}
Expand Down

0 comments on commit c797d34

Please sign in to comment.