Correct assertion message in decrypt.

Closes gh-550
Original pull request: gh-551
This commit is contained in:
MLSTRM
2020-04-27 17:05:09 +01:00
committed by Mark Paluch
parent 71cdf818b9
commit 0ea516dcef

View File

@@ -264,7 +264,7 @@ public class VaultTransitTemplate implements VaultTransitOperations {
@Override
public Plaintext decrypt(String keyName, Ciphertext ciphertext) {
Assert.hasText(keyName, "Ciphertext must not be null");
Assert.hasText(keyName, "keyName must not be null");
byte[] plaintext = decrypt(keyName, ciphertext.getCiphertext(),
ciphertext.getContext());