Diff between 732d620fe23787cd5e82bf6c9f8cfe17c61473fb and 07cba223a71faca14c0eaa52a03fd997275aed23

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 9ddf481..d648a5d 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -2252,7 +2252,7 @@ static struct link_key_info *get_key_info(GKeyFile *key_file, const char *peer)
 	char *str;
 
 	str = g_key_file_get_string(key_file, "LinkKey", "Key", NULL);
-	if (!str || strlen(str) != 34)
+	if (!str || strlen(str) < 32)
 		goto failed;
 
 	info = g_new0(struct link_key_info, 1);