summaryrefslogtreecommitdiff
path: root/usr.sbin/acme-client/http.c
AgeCommit message (Expand)Author
2019-07-12According to RFC 8555 we MUST send an User-Agent.Florian Obser
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-06-07Implement RFC 8555 "Automatic Certificate Management EnvironmentFlorian Obser
2019-03-04According to RFC 7230 Section 3.2 header field names areFlorian Obser
2018-11-29update for libtls default cert changes.Ted Unangst
2018-11-06Use TLS_CA_CERT_FILE instead of a separate define.Joel Sing
2018-08-08In netproc process, unveil to only expose the CA file.Theo de Raadt
2018-02-06kill dead codeFlorian Obser
2017-03-26recallocarray() for data buffer from the net.Theo de Raadt
2017-02-03Don't use <sys/param.h> from userland without cause. Sort <sys/*>Philip Guenther
2017-01-24Make returns consistent and remove parentheses per style(9).Joel Sing
2017-01-24Complete jsing's coccinelle cleanup... by handTheo de Raadt
2017-01-24Replace comparisons between a constant or enum and an expression, withJoel Sing
2017-01-24string terminator is called a NULTheo de Raadt
2016-11-02Use secure defaults for TLS - instead of accepting TLSv1.0 and any cipherJoel Sing
2016-10-04Avoid a potential MITM - calling tls_config_insecure_noverify() is a badJoel Sing
2016-10-04tls_close() can return TLS_WANT_POLLIN/TLS_WANT_POLLOUT - handle thisJoel Sing
2016-09-24The file descriptor needs to be closed in both the TLS and non-TLS case,Joel Sing
2016-09-24Both tls_free() and tls_config_free() are safe to call with NULL.Joel Sing
2016-09-24Remove more backwards compat for unsupported OpenBSD releases.Joel Sing
2016-09-13A small amount more KNF to make this easier on our eyes. Not going furtherTheo de Raadt
2016-09-01we don't have config.hFlorian Obser
2016-09-01do { } while is easier to eyeballTheo de Raadt
2016-08-31We are past 5.8. Also gets rid of asserts as a bonus.Florian Obser
2016-08-31whitespaceSebastian Benoit
2016-08-31whitespaceSebastian Benoit
2016-08-31avoid arith on void *, by using char *Theo de Raadt
2016-08-31Import Kristaps' letskencrypt and call it acme-client in tree.Florian Obser