mirror of
https://github.com/asterisk/asterisk.git
synced 2026-07-06 23:02:55 -07:00
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
This commit is contained in:
+2
-1
@@ -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)))
|
||||
|
||||
Reference in New Issue
Block a user