Treat the authentication object as invalid if digest configuration is chosen and the digest is not of the correct length.

(closes issue ASTERISK-22003)
Reported by: Rusty Newton


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@393857 f38db490-d61c-443f-a65b-d21fe96a405b
Tweak log message slightly.


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@393858 f38db490-d61c-443f-a65b-d21fe96a405b