patacongo commented on a change in pull request #183: nshlib/nsh_codeccmd.c: 
fix potential NULL dereference and check mallo…
URL: 
https://github.com/apache/incubator-nuttx-apps/pull/183#discussion_r409563357
 
 

 ##########
 File path: include/netutils/md5.h
 ##########
 @@ -74,24 +73,24 @@ extern "C"
  * Public Types
  ****************************************************************************/
 
-struct MD5Context
+struct md5_context_s
 {
   uint32_t buf[4];
   uint32_t bits[2];
   uint8_t in[64];
 };
 
-typedef struct MD5Context MD5_CTX;
+typedef struct md5_context_s MD5_CTX;
 
 Review comment:
   The coding standard does not permit upper case letters in type name.  Types 
must always end in _t.  The correct name would be md5_ctx_t

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to