-
Notifications
You must be signed in to change notification settings - Fork 8k
[RFC]: Add Argon2 to password_* #1997
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 10 commits
de85c2e
3c7fb71
c2551a7
0a1274f
deba2b4
1bc3818
bcfccdd
9f37be5
d398657
f4aa3a4
9bedcb7
1c954c9
9872208
ab837a6
0d4d8ea
d883f65
0e3b3b0
35a74b9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,18 @@ | ||
| // vim:ft=javascript | ||
| // $Id$ | ||
|
|
||
| ARG_WITH("argon2", "Argon2 support", "no"); | ||
|
|
||
| if (PHP_ARGON2 != "no") { | ||
| if (CHECK_LIB("Argon2Ref.lib", "argon2", PHP_ARGON2) | ||
| && CHECK_HEADER_ADD_INCLUDE("argon2.h", "CFLAGS_ARGON2")) { | ||
| AC_DEFINE('HAVE_ARGON2LIB', 1); | ||
| EXTENSION("argon2", null, false); | ||
|
||
| } else { | ||
| WARNING("Argon2 not enabled; libaries and headers not found"); | ||
| } | ||
| } | ||
|
|
||
| ARG_WITH("config-file-scan-dir", "Dir to check for additional php ini files", ""); | ||
|
|
||
| AC_DEFINE("PHP_CONFIG_FILE_SCAN_DIR", PHP_CONFIG_FILE_SCAN_DIR); | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should probably be $ARGON2_DIR/$PHP_LIBDIR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure thing.