mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 11:08:10 +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
|
fn := salt.GetIdentifiedHMAC
|
||||||
|
|
||||||
|
err = hashAuth(ctx, salter, resp.Auth, hmacAccessor)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
if resp.Data != nil {
|
if resp.Data != nil {
|
||||||
if b, ok := resp.Data[logical.HTTPRawBody].([]byte); ok {
|
if b, ok := resp.Data[logical.HTTPRawBody].([]byte); ok {
|
||||||
resp.Data[logical.HTTPRawBody] = string(b)
|
resp.Data[logical.HTTPRawBody] = string(b)
|
||||||
|
|||||||
Reference in New Issue
Block a user