forked from awslabs/aws-lc-verification
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into p384_validate_2
- Loading branch information
Showing
3 changed files
with
15 additions
and
2 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/crypto/mem.c b/crypto/mem.c | ||
index 7e58609c0..b92a0e555 100644 | ||
--- a/crypto/mem.c | ||
+++ b/crypto/mem.c | ||
@@ -187,6 +187,7 @@ static const uint8_t kBoringSSLBinaryTag[18] = { | ||
0, | ||
}; | ||
|
||
+__attribute__((noinline)) | ||
void *OPENSSL_malloc(size_t size) { | ||
if (malloc_impl != NULL) { | ||
assert(OPENSSL_memory_alloc == NULL); |
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