diff options
author | Dimitri Sokolyuk <demon@dim13.org> | 2016-01-07 19:23:01 +0100 |
---|---|---|
committer | Dimitri Sokolyuk <demon@dim13.org> | 2016-01-07 19:23:01 +0100 |
commit | 1983c08bbb7cae43c17252e4ce28fbf000c5d892 (patch) | |
tree | 8bd5edff4a0e244e0b95c43fb8e12351bbd53dee /provider.go | |
parent | 3b8e9fb44d3d1c91ab457bffbbf99e433df68312 (diff) |
Postpone registration
Diffstat (limited to 'provider.go')
-rw-r--r-- | provider.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/provider.go b/provider.go index a8cfa64..006d19c 100644 --- a/provider.go +++ b/provider.go @@ -115,7 +115,7 @@ func (p *Provider) parseHeader(resp *http.Response) nextStep { func (p *Provider) parseJson(resp *http.Response, v interface{}) (nextStep, error) { ns := p.parseHeader(resp) - go p.parseNonce(resp) + p.parseNonce(resp) defer resp.Body.Close() switch resp.Header.Get("Content-Type") { case "application/problem+json": @@ -128,7 +128,7 @@ func (p *Provider) parseJson(resp *http.Response, v interface{}) (nextStep, erro func (p *Provider) parseCert(resp *http.Response) (*x509.Certificate, nextStep, error) { ns := p.parseHeader(resp) - go p.parseNonce(resp) + p.parseNonce(resp) defer resp.Body.Close() switch resp.Header.Get("Content-Type") { case "application/problem+json": |