mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-10 19:27:29 -06:00
[chore]: Bump golang.org/x/crypto from 0.32.0 to 0.33.0 (#3771)
This commit is contained in:
parent
bb6d2f8ee8
commit
4ac5447ad6
45 changed files with 474 additions and 33 deletions
6
vendor/golang.org/x/crypto/acme/acme.go
generated
vendored
6
vendor/golang.org/x/crypto/acme/acme.go
generated
vendored
|
|
@ -514,7 +514,11 @@ func (c *Client) Accept(ctx context.Context, chal *Challenge) (*Challenge, error
|
|||
return nil, err
|
||||
}
|
||||
|
||||
res, err := c.post(ctx, nil, chal.URI, json.RawMessage("{}"), wantStatus(
|
||||
payload := json.RawMessage("{}")
|
||||
if len(chal.Payload) != 0 {
|
||||
payload = chal.Payload
|
||||
}
|
||||
res, err := c.post(ctx, nil, chal.URI, payload, wantStatus(
|
||||
http.StatusOK, // according to the spec
|
||||
http.StatusAccepted, // Let's Encrypt: see https://goo.gl/WsJ7VT (acme-divergences.md)
|
||||
))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue