mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-29 17:52:32 +00:00
adding some code (#28236)
This commit is contained in:
@@ -120,6 +120,11 @@ func hashResponse(ctx context.Context, salter Salter, resp *response, hmacAccess
|
||||
|
||||
fn := salt.GetIdentifiedHMAC
|
||||
|
||||
err = hashAuth(ctx, salter, resp.Auth, hmacAccessor)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
if resp.Data != nil {
|
||||
if b, ok := resp.Data[logical.HTTPRawBody].([]byte); ok {
|
||||
resp.Data[logical.HTTPRawBody] = string(b)
|
||||
|
||||
Reference in New Issue
Block a user