mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-19 09:00:31 +00:00
Update curl example to support ssl / https
Now that we know our SSL client works, and that it's able to verify certificates, the next step will be adding it as an API to redbean. See #97
This commit is contained in:
parent
e51034bab3
commit
36b2710e1a
4 changed files with 212 additions and 53 deletions
|
@ -30,7 +30,7 @@
|
|||
* @return NUL-terminated malloc'd contents, or NULL w/ errno
|
||||
* @note this is uninterruptible
|
||||
*/
|
||||
char *xslurp(const char *path, size_t *opt_out_size) {
|
||||
void *xslurp(const char *path, size_t *opt_out_size) {
|
||||
int fd;
|
||||
ssize_t rc;
|
||||
size_t i, got;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue