-
Notifications
You must be signed in to change notification settings - Fork 48
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
Use MBedTLS 3.5.1 #184
Merged
Merged
Use MBedTLS 3.5.1 #184
Changes from 12 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
e7a4937
Add in PSA crypto and use MBedTLS 3.5.0
Skptak b26beec
Formatting changes
Skptak e0a8fe2
Use MBedTLS 3.5.1 instead of 3.5.0
Skptak db8cc17
Formatting fixes
Skptak ea330ff
Remove the tee on the unit test step hiding the exit code
Skptak 08db762
Update the test_IotPkcs11_xInitializePkcs11BadFunctionList test
Skptak b66a483
Change the CI to do the upload of coverage data if the build for it p…
Skptak f89a746
Move the header check to the top
Skptak 13db56c
Merge branch 'main' into mbedtls3_5_1Upgrade
Skptak 4e30cbd
Not going to do the weird thing of an empty body ifndef just for MISR…
Skptak 39f879a
Formatting fixes
Skptak 7297a7f
Remove the mbedtls_config include
Skptak 2285c93
Use the same guard for if using PSA crypto
Skptak File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,19 +32,27 @@ | |
|
||
/*-----------------------------------------------------------*/ | ||
|
||
/* System Includes */ | ||
#include <stdio.h> | ||
#include <string.h> | ||
|
||
#ifdef WIN32 | ||
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. Recognize that as this is the "freertos_winsim" port for this file, we shouldn't really need to check for if WIN32 is defined, just did this for if the file ever gets copied somewhere else. |
||
#ifdef WIN32_LEAN_AND_MEAN | ||
#include <winsock2.h> | ||
#else | ||
#include <winsock.h> | ||
#endif /* WIN32_LEAN_AND_MEAN */ | ||
#endif /* WIN32 */ | ||
|
||
/* FreeRTOS Includes */ | ||
#include "FreeRTOS.h" | ||
|
||
/* corePKCS11 Includes */ | ||
#include "core_pkcs11.h" | ||
#include "core_pkcs11_config.h" | ||
#include "core_pkcs11_config_defaults.h" | ||
|
||
|
||
/* C runtime includes. */ | ||
#include <stdio.h> | ||
#include <string.h> | ||
|
||
#include "core_pkcs11_pal_utils.h" | ||
|
||
|
||
/*-----------------------------------------------------------*/ | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Could you add the "| tee -a $GITHUB_STEP_SUMMARY" back to each of the unit test runs?
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.
The tee masks the exit code of the previous command. This means that the tests can actually fail, but the exit code of the tee is read marking it as a success.
Link to a run where this happened to show what I'm talking about can be seen here