瀏覽代碼

auth_digest: more portability

Evgeny Grin (Karlson2k) 1 年之前
父節點
當前提交
b09b9865b9
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      src/mhd2/auth_digest.c

+ 4 - 1
src/mhd2/auth_digest.c

@@ -2798,7 +2798,10 @@ is_param_equal_caseless (const struct mhd_RqDAuthParam *restrict param,
  * @ingroup authentication
  * @ingroup authentication
  */
  */
 static MHD_FN_MUST_CHECK_RESULT_
 static MHD_FN_MUST_CHECK_RESULT_
-MHD_FN_PAR_NONNULL_ (1) MHD_FN_PAR_NONNULL_ (4)  MHD_FN_PAR_CSTR_ (4)
+MHD_FN_PAR_NONNULL_ (1)
+MHD_FN_PAR_NONNULL_ (2) MHD_FN_PAR_CSTR_ (2)
+MHD_FN_PAR_NONNULL_ (3) MHD_FN_PAR_CSTR_ (3)
+MHD_FN_PAR_CSTR_ (4)
 enum MHD_DigestAuthResult
 enum MHD_DigestAuthResult
 digest_auth_check_all_inner (struct MHD_Request *restrict req,
 digest_auth_check_all_inner (struct MHD_Request *restrict req,
                              const char *restrict realm,
                              const char *restrict realm,