فهرست منبع

response_auth_digest: fixed copy-paste error

Evgeny Grin (Karlson2k) 1 سال پیش
والد
کامیت
b373730194
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/mhd2/response_auth_digest.c

+ 1 - 1
src/mhd2/response_auth_digest.c

@@ -441,7 +441,7 @@ response_add_auth_digest_challenge_int (struct MHD_Response *restrict response,
 #endif
 #ifdef MHD_SUPPORT_SHA512_256
   if ((MHD_SC_OK == res) &&
-      (0 != (MHD_DIGEST_BASE_ALGO_SHA256 & ((unsigned int) malgo))))
+      (0 != (MHD_DIGEST_BASE_ALGO_SHA512_256 & ((unsigned int) malgo))))
     res = response_add_auth_digest_challenge_alg (
       response,
       &rlm,