fix Le field handling

This commit is contained in:
NIIBE Yutaka
2013-02-14 16:38:38 +09:00
parent 0aca10f307
commit 46259ce63d
3 changed files with 2 additions and 3 deletions

View File

@@ -1049,7 +1049,7 @@ cmd_get_challenge (void)
return;
}
else if (len == 0)
/* backward compatibility */
/* Le is not specified. Return full-sized challenge by GET_RESPONSE. */
len = CHALLENGE_LEN;
if (challenge)