This fixes a problem that lmadsen ran in to where md5secret was not working for him.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@289332
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
if (is_realmed_password_attribute) {
if (!strncasecmp(valptr, "{md5}", 5)) {
valptr += 5;
- } else {
- valptr = NULL;
}
ast_debug(2, "md5: %s\n", valptr);
}
if (is_realmed_password_attribute) {
if (strncasecmp(valptr, "{md5}", 5) == 0) {
valptr += 5;
- } else {
- valptr = NULL;
}
ast_debug(2, "md5: %s\n", valptr);
}