mirror of
https://github.com/hashicorp/vault.git
synced 2026-06-09 00:33:28 -04:00
Fix build
This commit is contained in:
parent
a689e40543
commit
031437a98f
1 changed files with 1 additions and 1 deletions
|
|
@ -370,7 +370,7 @@ func (p *Policy) Encrypt(context, nonce []byte, value string) (string, error) {
|
|||
}
|
||||
} else {
|
||||
// Compute random nonce
|
||||
nonce, err := uuid.GenerateRandomBytes(gcm.NonceSize())
|
||||
nonce, err = uuid.GenerateRandomBytes(gcm.NonceSize())
|
||||
if err != nil {
|
||||
return "", errutil.InternalError{Err: err.Error()}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue