refactor: network - harden TCP/IP and unify HTTP clients
This commit is contained in:
@@ -23,6 +23,7 @@ struct TrustAnchors {
|
||||
};
|
||||
|
||||
TrustAnchors load_trust_anchors();
|
||||
void free_trust_anchors(TrustAnchors* tas);
|
||||
void get_bearssl_time(uint32_t* days, uint32_t* seconds);
|
||||
int tls_send_all(int fd, const unsigned char* data, size_t len);
|
||||
int tls_recv_some(int fd, unsigned char* buf, size_t maxlen);
|
||||
|
||||
Reference in New Issue
Block a user