mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8279043: Some Security Exception Messages Miss Spaces
Reviewed-by: weijun
This commit is contained in:
parent
f7309060de
commit
f31dead6c5
16 changed files with 21 additions and 21 deletions
|
@ -1304,7 +1304,7 @@ abstract class GaloisCounterMode extends CipherSpi {
|
|||
// 'len' includes ibuffer data
|
||||
checkDataLength(len, tagLenBytes);
|
||||
if (dst.remaining() < len + tagLenBytes) {
|
||||
throw new ShortBufferException("Output buffer too small, must" +
|
||||
throw new ShortBufferException("Output buffer too small, must " +
|
||||
"be at least " + (len + tagLenBytes) + " bytes long");
|
||||
}
|
||||
|
||||
|
@ -1472,7 +1472,7 @@ abstract class GaloisCounterMode extends CipherSpi {
|
|||
}
|
||||
|
||||
if (len - tagLenBytes > out.length - outOfs) {
|
||||
throw new ShortBufferException("Output buffer too small, must" +
|
||||
throw new ShortBufferException("Output buffer too small, must " +
|
||||
"be at least " + (len - tagLenBytes) + " bytes long");
|
||||
}
|
||||
|
||||
|
|
|
@ -213,7 +213,7 @@ public final class TlsKeyMaterialGenerator extends KeyGeneratorSpi {
|
|||
if (protocolVersion >= 0x0302) {
|
||||
// TLS 1.1+
|
||||
throw new RuntimeException(
|
||||
"Internal Error: TLS 1.1+ should not be negotiating" +
|
||||
"Internal Error: TLS 1.1+ should not be negotiating " +
|
||||
"exportable ciphersuites");
|
||||
} else if (protocolVersion == 0x0301) {
|
||||
// TLS 1.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue