fix broken error message.

This commit is contained in:
nicolson%netscape.com 2002-05-07 20:32:29 +00:00
parent 3a91379d33
commit e3bf596343

View File

@ -289,7 +289,7 @@ final class PK11KeyWrapper implements KeyWrapper {
throw new IllegalStateException();
}
if( algorithm == KeyWrapAlgorithm.PLAINTEXT ) {
throw new InvalidKeyException("plaintext wrapping now supported");
throw new InvalidKeyException("plaintext wrapping not supported");
}
checkWrappee(toBeWrapped);