summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/ldaputil/certmap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ldaputil/certmap.c b/lib/ldaputil/certmap.c
index 40c3f60e..a8cb6cb2 100644
--- a/lib/ldaputil/certmap.c
+++ b/lib/ldaputil/certmap.c
@@ -1221,6 +1221,7 @@ static int ldapu_cert_mapfn_default (void *cert_in, LDAP *ld,
if (rdns == NULL) {
/* error */
+ return LDAPU_ERR_INTERNAL;
}
/* find last RDN */