Skip to content
Snippets Groups Projects
Commit 813f8d26 authored by Olle Johansson's avatar Olle Johansson
Browse files

Issue #8319 (imported from 1.2, 1.4) - Increment nonce-count properly (noriyuki)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48167 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 446a0667
Branches
Tags
No related merge requests found
......@@ -7347,7 +7347,8 @@ static int transmit_register(struct sip_registry *r, int sipmethod, const char *
ast_string_field_set(p, domain, r->domain);
ast_string_field_set(p, opaque, r->opaque);
ast_string_field_set(p, qop, r->qop);
p->noncecount = r->noncecount++;
r->noncecount++;
p->noncecount = r->noncecount;
 
memset(digest,0,sizeof(digest));
if(!build_reply_digest(p, sipmethod, digest, sizeof(digest)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment