Commit c31f66b5 authored by Pekka Pessi's avatar Pekka Pessi

If opaque is not given, do not include it in challenge (auth_module.c).

darcs-hash:20060220143104-65a35-5e1adc4573e2eb99216cafd08e49ce8789bde021.gz
parent 15f1d4af
......@@ -735,7 +735,7 @@ void auth_challenge_digest(auth_mod_t *am,
"%s%s%s"
"%s%s%s"
" nonce=\"%s\","
" opaque=\"%s\","
"%s%s%s"
"%s" /* stale */
" algorithm=%s"
"%s%s%s",
......@@ -743,7 +743,9 @@ void auth_challenge_digest(auth_mod_t *am,
u ? " uri=\"" : "", u ? u : "", u ? "\"," : "",
d ? " domain=\"" : "", d ? d : "", d ? "\"," : "",
nonce,
am->am_opaque ? am->am_opaque : "==",
am->am_opaque ? " opaque=\"" : "",
am->am_opaque ? am->am_opaque : "",
am->am_opaque ? "\"," : "",
as->as_stale ? " stale=true," : "",
am->am_algorithm,
am->am_qop ? ", qop=\"" : "",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment