mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
Fixed compiler warnings for builds without Digest Auth
This commit is contained in:
+14
-1
@@ -7030,7 +7030,20 @@ parse_options_va (struct MHD_Daemon *daemon,
|
||||
daemon->dauth_def_max_nc = val;
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
#else /* ! DAUTH_SUPPORT */
|
||||
case MHD_OPTION_DIGEST_AUTH_RANDOM:
|
||||
case MHD_OPTION_DIGEST_AUTH_RANDOM_COPY:
|
||||
case MHD_OPTION_NONCE_NC_SIZE:
|
||||
case MHD_OPTION_DIGEST_AUTH_NONCE_BIND_TYPE:
|
||||
case MHD_OPTION_DIGEST_AUTH_DEFAULT_NONCE_TIMEOUT:
|
||||
case MHD_OPTION_DIGEST_AUTH_DEFAULT_MAX_NC:
|
||||
#ifdef HAVE_MESSAGES
|
||||
MHD_DLOG (daemon,
|
||||
_ ("Digest Auth is disabled for this build " \
|
||||
"of GNU libmicrohttpd.\n"));
|
||||
#endif /* HAVE_MESSAGES */
|
||||
return MHD_NO;
|
||||
#endif /* ! DAUTH_SUPPORT */
|
||||
case MHD_OPTION_LISTEN_SOCKET:
|
||||
params->listen_fd = va_arg (ap,
|
||||
MHD_socket);
|
||||
|
||||
Reference in New Issue
Block a user