File tree Expand file tree Collapse file tree 3 files changed +13
-13
lines changed
TLS-Core/src/main/java/de/rub/nds/tlsattacker/core Expand file tree Collapse file tree 3 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -236,16 +236,6 @@ public class ExtensionByteLength {
236236
237237 public static final int RENEGOTIATION_INFO = 1 ;
238238
239- /**
240- * Length of the Supplemental Data Entry Type
241- */
242- public static final int SUPPLEMENTAL_DATA_ENTRY_TYPE_LENGTH = 2 ;
243-
244- /**
245- * Length of the Supplemental Data Entry
246- */
247- public static final int SUPPLEMENTAL_DATA_ENTRY_LENGTH = 2 ;
248-
249239 private ExtensionByteLength () {
250240 }
251241}
Original file line number Diff line number Diff line change @@ -220,6 +220,16 @@ public class HandshakeByteLength {
220220 * Length of the Supplemental Data Field
221221 */
222222 public static final int SUPPLEMENTAL_DATA_LENGTH = 3 ;
223+
224+ /**
225+ * Length of the Supplemental Data Entry Type
226+ */
227+ public static final int SUPPLEMENTAL_DATA_ENTRY_TYPE_LENGTH = 2 ;
228+
229+ /**
230+ * Length of the Supplemental Data Entry
231+ */
232+ public static final int SUPPLEMENTAL_DATA_ENTRY_LENGTH = 2 ;
223233
224234 private HandshakeByteLength () {
225235 }
Original file line number Diff line number Diff line change 99package de .rub .nds .tlsattacker .core .protocol .parser .suppData ;
1010
1111import de .rub .nds .modifiablevariable .util .ArrayConverter ;
12- import de .rub .nds .tlsattacker .core .constants .ExtensionByteLength ;
12+ import de .rub .nds .tlsattacker .core .constants .HandshakeByteLength ;
1313import de .rub .nds .tlsattacker .core .protocol .message .suppData .SupplementalDataEntry ;
1414import de .rub .nds .tlsattacker .core .protocol .parser .Parser ;
1515
@@ -29,12 +29,12 @@ public SupplementalDataEntry parse() {
2929 }
3030
3131 private void parseSupplementalDataEntryType (SupplementalDataEntry entry ) {
32- entry .setSupplementalDataEntryType (parseIntField (ExtensionByteLength .SUPPLEMENTAL_DATA_ENTRY_TYPE_LENGTH ));
32+ entry .setSupplementalDataEntryType (parseIntField (HandshakeByteLength .SUPPLEMENTAL_DATA_ENTRY_TYPE_LENGTH ));
3333 LOGGER .debug ("SupplementalDataEntryType: " + entry .getSupplementalDataEntryType ().getValue ());
3434 }
3535
3636 private void parseSupplementalDataEntryLength (SupplementalDataEntry entry ) {
37- entry .setSupplementalDataEntryLength (parseIntField (ExtensionByteLength .SUPPLEMENTAL_DATA_ENTRY_LENGTH ));
37+ entry .setSupplementalDataEntryLength (parseIntField (HandshakeByteLength .SUPPLEMENTAL_DATA_ENTRY_LENGTH ));
3838 LOGGER .debug ("SupplementalDataEntryLength: " + entry .getSupplementalDataEntryLength ().getValue ());
3939 }
4040
You can’t perform that action at this time.
0 commit comments