From: Ondřej Kuzník Date: Tue, 15 Apr 2025 16:44:40 +0000 (+0100) Subject: ITS#10254 Fix password_scheme to return full hash specification X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=406836540c32ab7e75d147122f517888eb71de8c;p=thirdparty%2Fopenldap.git ITS#10254 Fix password_scheme to return full hash specification --- diff --git a/servers/slapd/overlays/ppolicy.c b/servers/slapd/overlays/ppolicy.c index 6a75acd14c..76bddd007d 100644 --- a/servers/slapd/overlays/ppolicy.c +++ b/servers/slapd/overlays/ppolicy.c @@ -2529,7 +2529,7 @@ password_scheme( struct berval *cred, struct berval *sch ) if (rc) { if (sch) { sch->bv_val = cred->bv_val; - sch->bv_len = e; + sch->bv_len = e + 1; } return LDAP_SUCCESS; }