aboutsummaryrefslogtreecommitdiffstats
path: root/java/org/direct_bt/SMPLongTermKeyInfo.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/org/direct_bt/SMPLongTermKeyInfo.java')
-rw-r--r--java/org/direct_bt/SMPLongTermKeyInfo.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/java/org/direct_bt/SMPLongTermKeyInfo.java b/java/org/direct_bt/SMPLongTermKeyInfo.java
index b02e59d8..115be853 100644
--- a/java/org/direct_bt/SMPLongTermKeyInfo.java
+++ b/java/org/direct_bt/SMPLongTermKeyInfo.java
@@ -140,9 +140,6 @@ public class SMPLongTermKeyInfo {
/** Construct instance via given source byte array */
public SMPLongTermKeyInfo(final byte source[], final int pos) {
- if( byte_size > ( source.length - pos ) ) {
- throw new IllegalArgumentException("Stream ( "+source.length+" - "+pos+" ) < "+byte_size+" bytes");
- }
ediv = new byte[2];
rand = new byte[8];
ltk = new byte[16];