瀏覽代碼

Minor update

Julien 'Lta' BALLET 11 年之前
父節點
當前提交
5dd4ad8895
共有 2 個文件被更改,包括 6 次插入2 次删除
  1. 4 0
      README.md
  2. 2 2
      src/hmac_md5.c

+ 4 - 0
README.md

@@ -59,6 +59,10 @@ DirectTCP SMB is on the way, to fix this issue.
 
 Feel free to contribute items to this list (or network trace of not working devices)
 
+## TODO
+
+* HEAVILY refactor. Any help is welcome.
+
 ## Contributing
 
 * Fork elthariel/libdsm

+ 2 - 2
src/hmac_md5.c

@@ -33,8 +33,8 @@ unsigned char *HMAC_MD5(const void *key, size_t key_len, const void *msg,
 
   assert(key != NULL && msg != NULL);
 
-  // This is Microsoft variation for NTLMv2 (afaik)
-  // afaik, they truncate the key instead of hashing it
+  // This is Microsoft variation of HMAC_MD5 for NTLMv2
+  // It seems they truncate over-sized keys instead of rehashing
   if (key_len > 64)
     key_len = 64;
   else