[commit] r5666 - freeswitch/trunk/src/mod/endpoints/mod_sofia
Author: anthm Date: Mon Aug 27 16:43:34 2007 New Revision: 5666 Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c Log: fix reg var scope Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c ============================================================================== --- freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c (original) +++ freeswitch/trunk/src/mod/endpoints/mod_sofia/sofia_reg.c Mon Aug 27 16:43:34 2007 @@ -730,7 +730,8 @@ const char *a1_hash = NULL; char *sql; switch_xml_t domain, xml, user, param, xparams; - + char hexdigest[2 * SU_MD5_DIGEST_SIZE + 1] = ""; + username = realm = nonce = uri = qop = cnonce = nc = response = NULL; if (authorization->au_params) { @@ -847,7 +848,6 @@ if (!a1_hash) { su_md5_t ctx; - char hexdigest[2 * SU_MD5_DIGEST_SIZE + 1]; char *input; input = switch_mprintf("%s:%s:%s", username, realm, passwd);
participants (1)
-
Freeswitch SVN