Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
110409ea
Commit
110409ea
authored
Nov 08, 2018
by
Ondřej Kuzník
Committed by
Quanah Gibson-Mount
Nov 08, 2018
Browse files
ITS#8878 Include the first character in the transformation
parent
491e206e
Changes
1
Hide whitespace changes
Inline
Side-by-side
contrib/slapd-modules/passwd/pbkdf2/pw-pbkdf2.c
View file @
110409ea
...
...
@@ -59,15 +59,14 @@ const struct berval pbkdf2_sha512_scheme = BER_BVC("{PBKDF2-SHA512}");
static
int
b64_to_ab64
(
char
*
str
)
{
char
*
p
=
str
;
while
(
*
p
++
)
{
do
{
if
(
*
p
==
'+'
){
*
p
=
'.'
;
}
if
(
*
p
==
'='
){
*
p
=
'\0'
;
break
;
}
}
}
while
(
*
p
++
);
return
0
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment