浏览代码

[CIFS] Fix build break ifdef in wrong place

Signed-off-by: Steve French <sfrench@us.ibm.com>
Steve French 18 年之前
父节点
当前提交
a3ab41f10e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fs/cifs/md5.c

+ 1 - 1
fs/cifs/md5.c

@@ -335,7 +335,6 @@ hmac_md5_update(const unsigned char *text, int text_len,
 /***********************************************************************
 /***********************************************************************
  finish off hmac_md5 "inner" buffer and generate outer one.
  finish off hmac_md5 "inner" buffer and generate outer one.
 ***********************************************************************/
 ***********************************************************************/
-#if 0   /* currently unused */
 void
 void
 hmac_md5_final(unsigned char *digest, struct HMACMD5Context *ctx)
 hmac_md5_final(unsigned char *digest, struct HMACMD5Context *ctx)
 {
 {
@@ -353,6 +352,7 @@ hmac_md5_final(unsigned char *digest, struct HMACMD5Context *ctx)
  single function to calculate an HMAC MD5 digest from data.
  single function to calculate an HMAC MD5 digest from data.
  use the microsoft hmacmd5 init method because the key is 16 bytes.
  use the microsoft hmacmd5 init method because the key is 16 bytes.
 ************************************************************/
 ************************************************************/
+#if 0 /* currently unused */
 static void
 static void
 hmac_md5(unsigned char key[16], unsigned char *data, int data_len,
 hmac_md5(unsigned char key[16], unsigned char *data, int data_len,
 	 unsigned char *digest)
 	 unsigned char *digest)