Commit 110409ea authored by Ondřej Kuzník's avatar Ondřej Kuzník Committed by Quanah Gibson-Mount
Browse files

ITS#8878 Include the first character in the transformation

parent 491e206e
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment