1
0
mirror of https://github.com/fumiama/simple-dict.git synced 2026-06-12 22:40:50 +08:00

inline crypto

This commit is contained in:
源文雨
2022-05-04 18:53:04 +08:00
parent 0f97db5803
commit b63f312f54
5 changed files with 178 additions and 183 deletions

View File

@@ -385,7 +385,7 @@ static int s4_del(THREADTIMER *timer) {
static int s5_md5(THREADTIMER *timer) {
//timer->status = 0;
fill_md5(&mu);
if(is_md5_equal((uint8_t*)timer->dat)) return send_data(timer->accept_fd, timer->index, ACKNULL, "null", 4);
if(is_dict_md5_equal((uint8_t*)timer->dat)) return send_data(timer->accept_fd, timer->index, ACKNULL, "null", 4);
else return send_data(timer->accept_fd, timer->index, ACKNEQU, "nequ", 4);
}