Fix build

This commit is contained in:
Jeff Mitchell 2016-08-08 17:00:59 -04:00
parent a689e40543
commit 031437a98f

View file

@ -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()}
}