Diff between a19690da2518a87c40bdde34ca323a16df8ff9df and 636af9cfc46cdbcb881cc70af572459811af1633

Changed Files

File Additions Deletions Status
src/adapter.c +1 -1 modified

Full Patch

diff --git a/src/adapter.c b/src/adapter.c
index 25427a4..662b6d8 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -2284,7 +2284,7 @@ static struct smp_ltk_info *get_ltk(GKeyFile *key_file, const char *peer,
 	char *rand = NULL;
 
 	key = g_key_file_get_string(key_file, group, "Key", NULL);
-	if (!key || strlen(key) != 34)
+	if (!key || strlen(key) < 32)
 		goto failed;
 
 	rand = g_key_file_get_string(key_file, group, "Rand", NULL);