2021-07-07 21:44:27 -07:00
|
|
|
#ifndef COSMOPOLITAN_NET_HTTPS_HTTPS_H_
|
|
|
|
#define COSMOPOLITAN_NET_HTTPS_HTTPS_H_
|
|
|
|
#include "libc/time/struct/tm.h"
|
2021-07-19 14:55:20 -07:00
|
|
|
#include "third_party/mbedtls/ssl_ciphersuites.h"
|
2021-07-07 21:44:27 -07:00
|
|
|
#include "third_party/mbedtls/x509_crt.h"
|
|
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
|
|
COSMOPOLITAN_C_START_
|
|
|
|
|
|
|
|
char *DescribeSslVerifyFailure(int);
|
|
|
|
mbedtls_x509_crt *GetSslRoots(void);
|
|
|
|
void FormatSslTime(char[restrict hasatleast 16], struct tm *);
|
|
|
|
|
|
|
|
COSMOPOLITAN_C_END_
|
|
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
|
|
#endif /* COSMOPOLITAN_NET_HTTPS_HTTPS_H_ */
|