diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2013-06-22 09:07:31 +0400 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2013-06-22 09:07:31 +0400 |
commit | d4fde10c1724fb641a019bebe8d50a4d254c3fda (patch) | |
tree | 12d5cc14431afb61dc60b973e7572ad613014b72 /core/src/main/java/org/bouncycastle/crypto/tls/TlsProtocol.java | |
parent | b1eaafbe96dd53b791d2b10204bd772f408f1835 (diff) |
Factor out a method for checking for empty extension_data
Diffstat (limited to 'core/src/main/java/org/bouncycastle/crypto/tls/TlsProtocol.java')
-rw-r--r-- | core/src/main/java/org/bouncycastle/crypto/tls/TlsProtocol.java | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/core/src/main/java/org/bouncycastle/crypto/tls/TlsProtocol.java b/core/src/main/java/org/bouncycastle/crypto/tls/TlsProtocol.java index 6591844b..bba3ac34 100644 --- a/core/src/main/java/org/bouncycastle/crypto/tls/TlsProtocol.java +++ b/core/src/main/java/org/bouncycastle/crypto/tls/TlsProtocol.java @@ -725,20 +725,6 @@ public abstract class TlsProtocol } } - protected void processServerStatusExtension(Hashtable serverExtensions, short alertDescription) - throws IOException - { - byte[] statusRequest = TlsUtils.getExtensionData(serverExtensions, TlsExtensionsUtils.EXT_status_request); - if (statusRequest != null) - { - if (statusRequest.length != 0) - { - throw new TlsFatalAlert(alertDescription); - } - this.allowCertificateStatus = true; - } - } - protected static boolean arrayContains(short[] a, short n) { for (int i = 0; i < a.length; ++i) |