diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2013-11-07 08:24:55 +0400 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2013-11-07 08:24:55 +0400 |
commit | 7350aec2684d0dd2cc4fba54a999fc4171e157b6 (patch) | |
tree | d7e723929476459616d520f1d6456acfb1fbbab9 /core/src/main/java/org/bouncycastle/crypto/tls | |
parent | 9d18c9c61e0c5aef829c08a51c92e999fd52e3b3 (diff) |
Add some TODOs
Diffstat (limited to 'core/src/main/java/org/bouncycastle/crypto/tls')
-rw-r--r-- | core/src/main/java/org/bouncycastle/crypto/tls/TlsClientProtocol.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/core/src/main/java/org/bouncycastle/crypto/tls/TlsClientProtocol.java b/core/src/main/java/org/bouncycastle/crypto/tls/TlsClientProtocol.java index f4d0c443..f4a81868 100644 --- a/core/src/main/java/org/bouncycastle/crypto/tls/TlsClientProtocol.java +++ b/core/src/main/java/org/bouncycastle/crypto/tls/TlsClientProtocol.java @@ -456,6 +456,8 @@ public class TlsClientProtocol this.keyExchange.validateCertificateRequest(this.certificateRequest); + // TODO Let the handshake hash know what digests it needs to be tracking for this + break; } default: @@ -661,6 +663,7 @@ public class TlsClientProtocol { // TODO[compat-gnutls] GnuTLS test server sends server extensions e.g. ec_point_formats // TODO[compat-openssl] OpenSSL test server sends server extensions e.g. ec_point_formats + // TODO[compat-polarssl] PolarSSL test server sends server extensions e.g. ec_point_formats // throw new TlsFatalAlert(AlertDescription.illegal_parameter); } @@ -824,7 +827,9 @@ public class TlsClientProtocol if (noRenegExt && noSCSV) { // TODO Consider whether to default to a client extension instead - offeredCipherSuites = Arrays.append(offeredCipherSuites, CipherSuite.TLS_EMPTY_RENEGOTIATION_INFO_SCSV); +// this.clientExtensions = TlsExtensionsUtils.ensureExtensionsInitialised(this.clientExtensions); +// this.clientExtensions.put(EXT_RenegotiationInfo, createRenegotiationInfo(TlsUtils.EMPTY_BYTES)); + this.offeredCipherSuites = Arrays.append(offeredCipherSuites, CipherSuite.TLS_EMPTY_RENEGOTIATION_INFO_SCSV); } TlsUtils.writeUint16ArrayWithUint16Length(offeredCipherSuites, message); |