Преглед изворни кода

Z991239-5772 #comment 恢复加密库哈希码为大写,解决加解密存在密钥不一致问题

80274480 пре 11 месеци
родитељ
комит
c87f1a0366
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Other/libfilecryption/fileanalysis.cpp

+ 1 - 1
Other/libfilecryption/fileanalysis.cpp

@@ -96,7 +96,7 @@ unsigned long get_srcfile_size(const char* pfilename)
 
 static int bin2str(unsigned char* x, int xlen, char* str, int str_size)
 {
-	static const char* hex2char = "0123456789abcdef";
+	static const char* hex2char = "0123456789ABCDEF";
 	int i, k = 0;
 	if (str_size <= xlen * 2)
 		return -1;