net.openssl, net.mbedtls: add support for -d trace_ssl, for easier tracing of binary protocol problems to https servers

This commit is contained in:
Delyan Angelov 2023-01-15 15:49:31 +02:00
parent 7f3531077d
commit bfb47005c8
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED
4 changed files with 136 additions and 15 deletions

View file

@ -1,5 +1,7 @@
module mbedtls
pub const is_used = 1
#flag -I @VEXEROOT/thirdparty/mbedtls/library
#flag -I @VEXEROOT/thirdparty/mbedtls/include
// #flag -D _FILE_OFFSET_BITS=64
@ -195,7 +197,3 @@ fn C.mbedtls_high_level_strerr(int) &char
// C.OPENSSL_init_ssl(C.OPENSSL_INIT_LOAD_SSL_STRINGS, 0)
// }
// }
pub const (
is_used = 1
)