Browse code

Reflected changes in the digest parser.

Jan Janak authored on 06/03/2003 15:55:19
Showing 1 changed files
... ...
@@ -166,10 +166,9 @@ static inline struct auth_body* auth_body_cloner(char* new_buf, char *org_buf, s
166 166
 	(*p) += ROUND4(sizeof(struct auth_body));
167 167
 	
168 168
 	     /* authorized field must be cloned elsewhere */
169
-	new_auth->digest.username.s = translate_pointer(new_buf, org_buf, auth->digest.username.s);
170
-#ifdef DIGEST_DOMAIN
171
-	new_auth->digest.domain.s = translate_pointer(new_buf, org_buf, auth->digest.domain.s);
172
-#endif
169
+	new_auth->digest.username.whole.s = translate_pointer(new_buf, org_buf, auth->digest.username.whole.s);
170
+	new_auth->digest.username.user.s = translate_pointer(new_buf, org_buf, auth->digest.username.user.s);
171
+	new_auth->digest.username.domain.s = translate_pointer(new_buf, org_buf, auth->digest.username.domain.s);
173 172
 	new_auth->digest.realm.s = translate_pointer(new_buf, org_buf, auth->digest.realm.s);
174 173
 	new_auth->digest.nonce.s = translate_pointer(new_buf, org_buf, auth->digest.nonce.s);
175 174
 	new_auth->digest.uri.s = translate_pointer(new_buf, org_buf, auth->digest.uri.s);