mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 22:02:27 +00:00
Restore Referer-Policy and wrap up MbedTLS changes
redbean will now set Referer-Policy to no-referrer-when-downgrade on text/html responses by default. There's better explanations on the bits of security redbean is offering. In short, it's 128+ for modern clients and 112+ for legacy. If the -B flag is used then it's 192+ for modern and 150+ for non-EC.
This commit is contained in:
parent
344d2dc356
commit
df8ab0aa0c
32 changed files with 679 additions and 663 deletions
2
third_party/mbedtls/sha512.h
vendored
2
third_party/mbedtls/sha512.h
vendored
|
@ -33,6 +33,8 @@ int mbedtls_sha512_update_ret( mbedtls_sha512_context *, const unsigned char *,
|
|||
int mbedtls_sha512_finish_ret( mbedtls_sha512_context *, unsigned char[64] );
|
||||
int mbedtls_internal_sha512_process( mbedtls_sha512_context *, const unsigned char[128] );
|
||||
int mbedtls_sha512_ret( const void *, size_t, unsigned char[64], int );
|
||||
int mbedtls_sha512_ret_384( const void *, size_t, unsigned char * );
|
||||
int mbedtls_sha512_ret_512( const void *, size_t, unsigned char * );
|
||||
int mbedtls_sha512_self_test( int );
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue