diff options
author | Mark Michelson <mmichelson@digium.com> | 2013-12-10 15:15:13 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2013-12-10 15:15:13 +0000 |
commit | 5b4aab75ef39ee79d04bd8c48516a7d87d319a78 (patch) | |
tree | be1163ed96ce18761bb1755a522d7c5fa6ab8d89 /res/res_srtp.exports.in | |
parent | 905a7de52bbe1ced9c4fec33b2ba9edaaca5df38 (diff) |
Fix correct authentication behavior for artificial endpoint.
When switching to using a vector for authentication, I initialized
the vector for the artificial endpoint to be of size 1. However, this
does not result in AST_VECTOR_SIZE() returning 1 since there isn't
actually anything in the vector.
Rather than trifle with the vector by putting unnecessary elements in,
I simply changed the callback in res_pjsip_authenticator_digest.c to
explicitly report that the artificial endpoint requires authentication.
Thanks to Joshua Colp for pointing this out.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@403605 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_srtp.exports.in')
0 files changed, 0 insertions, 0 deletions