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
511ad098
Commit
511ad098
authored
Apr 07, 2020
by
Ryan Tandy
Committed by
Quanah Gibson-Mount
Apr 21, 2020
Browse files
ITS#9206 Initialize libsodium before calling its functions
parent
8ff81631
Changes
1
Hide whitespace changes
Inline
Side-by-side
contrib/slapd-modules/passwd/argon2/pw-argon2.c
View file @
511ad098
...
...
@@ -175,6 +175,12 @@ int init_module( int argc, char *argv[] )
{
int
i
;
#ifndef SLAPD_ARGON2_USE_ARGON2
if
(
sodium_init
()
==
-
1
)
{
return
-
1
;
}
#endif
for
(
i
=
0
;
i
<
argc
;
i
++
)
{
char
*
p
;
unsigned
long
value
;
...
...
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