-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Add initial mbedTLS v4 support #3477
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
base: v3/master
Are you sure you want to change the base?
Changes from all commits
f132bb3
ba24754
812174d
01c3a2f
23e513c
fba1de5
a6a3a3d
27f8dbe
2cfe164
e2018dc
f506395
c4ba2df
795cf67
d127722
d67bf14
e5c24a8
80a2e85
1d014f6
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 |
|---|---|---|
|
|
@@ -56,7 +56,8 @@ | |
| #endif | ||
| #include <string.h> | ||
|
|
||
| #include "src/utils/sha1.h" | ||
| /*#include "src/utils/sha1.h"*/ | ||
|
Check warning on line 59 in src/unique_id.cc
|
||
| #include "src/utils/sha256.h" | ||
|
|
||
| namespace modsecurity { | ||
|
|
||
|
|
@@ -72,7 +73,7 @@ | |
|
|
||
| data = macAddress + name; | ||
|
|
||
| this->uniqueId_str = Utils::Sha1::hexdigest(data); | ||
| this->uniqueId_str = Utils::Sha256::hexdigest(data); | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could you explain why did you changed the And I'm not sure here |
||
| } | ||
|
|
||
| // Based on: | ||
|
|
||
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.
Let me check the new version on
mbedtls, and make sure that all of these sources are necessary.