diff --git a/res/res_sip/config_auth.c b/res/res_sip/config_auth.c index 5f9e8d0b78..836b90805e 100644 --- a/res/res_sip/config_auth.c +++ b/res/res_sip/config_auth.c @@ -86,8 +86,8 @@ static int auth_apply(const struct ast_sorcery *sorcery, void *obj) "specified for auth '%s'\n", ast_sorcery_object_get_id(auth)); res = -1; } else if (strlen(auth->md5_creds) != PJSIP_MD5STRLEN) { - ast_log(LOG_ERROR, "'md5' authentication requires digest of '%d', but" - "digest is of '%d' for auth '%s'\n", PJSIP_MD5STRLEN, (int)strlen(auth->md5_creds), + ast_log(LOG_ERROR, "'md5' authentication requires digest of size '%d', but" + "digest is '%d' in size for auth '%s'\n", PJSIP_MD5STRLEN, (int)strlen(auth->md5_creds), ast_sorcery_object_get_id(auth)); res = -1; }