mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 13:52:28 +00:00
Improve redbean plus code size optimizations
This change turns symbol table compression back on using Puff, which noticeably reduces the size of programs like redbean and Python. The redbean web server receives some minor API additions for controlling things like SSL in addition to filling gaps in the documentation.
This commit is contained in:
parent
425ff5dff0
commit
13ee75150c
58 changed files with 2077 additions and 589 deletions
3
third_party/mbedtls/zeroize.c
vendored
3
third_party/mbedtls/zeroize.c
vendored
|
@ -19,7 +19,8 @@
|
|||
#include "libc/str/str.h"
|
||||
#include "third_party/mbedtls/platform.h"
|
||||
|
||||
void mbedtls_platform_zeroize(void *p, size_t n) {
|
||||
// disable ubsan because n=0 is defined behavior in cosmopolitan
|
||||
noubsan void mbedtls_platform_zeroize(void *p, size_t n) {
|
||||
MBEDTLS_INTERNAL_VALIDATE(!n || p);
|
||||
bzero(p, n);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue