Return to auth-rsa.c CVS log | Up to [local] / src / usr.bin / ssh |
version 1.77, 2010/07/13 11:52:06 | version 1.78, 2010/07/13 23:13:16 | ||
---|---|---|---|
|
|
||
MD5_Final(mdbuf, &md); | MD5_Final(mdbuf, &md); | ||
/* Verify that the response is the original challenge. */ | /* Verify that the response is the original challenge. */ | ||
if (timing_safe_cmp(response, mdbuf, 16) != 0) { | if (timingsafe_bcmp(response, mdbuf, 16) != 0) { | ||
/* Wrong answer. */ | /* Wrong answer. */ | ||
return (0); | return (0); | ||
} | } |