Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
trees
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Liberate
trees
Commits
ed0bbfb2
Commit
ed0bbfb2
authored
6 years ago
by
matthias
Browse files
Options
Downloads
Patches
Plain Diff
libsodium <= 1.0.14 patch
parent
e136c32a
Branches
Branches containing commit
Tags
v2.0.0
Tags containing commit
1 merge request
!4
Fix for #17 build issue with libsodium <= 1.0.14 and password change option for trees-create
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/trees-plugin.h
+2
-0
2 additions, 0 deletions
src/trees-plugin.h
with
2 additions
and
0 deletions
src/trees-plugin.h
+
2
−
0
View file @
ed0bbfb2
...
...
@@ -33,9 +33,11 @@ trees_pluging_pwhash_map(int value)
case
0
:
/* argon2i, libsodium <= 1.0.14. */
return
crypto_pwhash_ALG_ARGON2I13
;
#ifdef crypto_pwhash_ALG_ARGON2IDI3
case
1
:
/* argon2id, libsodium >= 1.0.15 */
return
crypto_pwhash_ALG_ARGON2ID13
;
#endif
default:
return
-
1
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment