mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-13 17:00:19 +00:00
Style changes
This commit is contained in:
1 parent
fb8f0ed4d6
commit
6bd35a4c18
1 file changed
+2
-4
+2
-4
@@ -2295,10 +2295,8 @@ static int authorize(struct mg_connection *conn, FILE *fp) {
|
|||||||
|
|
||||||
if (!strcmp(ah.user, f_user) &&
|
if (!strcmp(ah.user, f_user) &&
|
||||||
!strcmp(conn->ctx->config[AUTHENTICATION_DOMAIN], f_domain))
|
!strcmp(conn->ctx->config[AUTHENTICATION_DOMAIN], f_domain))
|
||||||
return check_password(
|
return check_password(conn->request_info.request_method, ha1, ah.uri,
|
||||||
conn->request_info.request_method,
|
ah.nonce, ah.nc, ah.cnonce, ah.qop, ah.response);
|
||||||
ha1, ah.uri, ah.nonce, ah.nc, ah.cnonce, ah.qop,
|
|
||||||
ah.response);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in new issue
Block a user