NTLM: MAC compare string needs to use upper case letters
commit7388ff76741942ff62cf38ee06f60c6f1f696a08
authorStefan Becker <stefan.becker@nokia.com>
Sun, 21 Feb 2010 12:28:58 +0000 (21 14:28 +0200)
committerStefan Becker <stefan.becker@nokia.com>
Sun, 21 Feb 2010 12:28:58 +0000 (21 14:28 +0200)
tree39d67f8c27d9c04e646be4a022e97b135bd03269
parentade3d4520f79f1a7ec96d8466631cc9587803b21
NTLM: MAC compare string needs to use upper case letters

MAC() uses sprintf("%02X").

Added two more MAC tests. Interestingly enough the random pad is completely
useless, as its encrypted value is simply overwritten. This seems to be a
design flaw in NTLMv1 and I guess that's why the original code only compared
the last 16 characters of the NTLM signature...
src/core/tests.c