[asterisk-commits] mmichelson: branch mmichelson/authenticate r381063 - /team/mmichelson/authent...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Feb 7 17:51:25 CST 2013
Author: mmichelson
Date: Thu Feb 7 17:51:22 2013
New Revision: 381063
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=381063
Log:
Don't put a newline at the end of the calculated nonce.
Modified:
team/mmichelson/authenticate/res/res_sip_authenticator_digest.c
Modified: team/mmichelson/authenticate/res/res_sip_authenticator_digest.c
URL: http://svnview.digium.com/svn/asterisk/team/mmichelson/authenticate/res/res_sip_authenticator_digest.c?view=diff&rev=381063&r1=381062&r2=381063
==============================================================================
--- team/mmichelson/authenticate/res/res_sip_authenticator_digest.c (original)
+++ team/mmichelson/authenticate/res/res_sip_authenticator_digest.c Thu Feb 7 17:51:22 2013
@@ -186,7 +186,7 @@
ast_str_append(&str, 0, ":%s", realm);
ast_md5_hash(hash, ast_str_buffer(str));
- ast_str_append(nonce, 0, "%s/%s\n", timestamp, hash);
+ ast_str_append(nonce, 0, "%s/%s", timestamp, hash);
return 0;
}
More information about the asterisk-commits
mailing list