aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/res_config_ldap.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/res/res_config_ldap.c b/res/res_config_ldap.c
index 9d5189bed..1cfe12cfc 100644
--- a/res/res_config_ldap.c
+++ b/res/res_config_ldap.c
@@ -306,8 +306,6 @@ static struct ast_variable *realtime_ldap_entry_to_var(struct ldap_table_config
if (is_realmed_password_attribute) {
if (!strncasecmp(valptr, "{md5}", 5)) {
valptr += 5;
- } else {
- valptr = NULL;
}
ast_debug(2, "md5: %s\n", valptr);
}
@@ -428,8 +426,6 @@ static struct ast_variable **realtime_ldap_result_to_vars(struct ldap_table_conf
if (is_realmed_password_attribute) {
if (strncasecmp(valptr, "{md5}", 5) == 0) {
valptr += 5;
- } else {
- valptr = NULL;
}
ast_debug(2, "md5: %s\n", valptr);
}