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