curl/lib
Daniel Stenberg c9e0549113
x509asn1: return early on errors
Overhaul to make sure functions that detect errors bail out early with
error rather than trying to continue and risk hiding the problem.

Closes #8147
2021-12-15 08:19:29 +01:00
..
vauth sha256/md5: return errors when init fails 2021-12-13 15:54:16 +01:00
vquic ngtcp2: advertise h3 as well as h3-29 2021-11-09 11:46:12 +01:00
vssh sha256/md5: return errors when init fails 2021-12-13 15:54:16 +01:00
vtls mbedtls: fix CURLOPT_SSLCERT_BLOB 2021-12-14 15:35:54 +01:00
.checksrc
.gitattributes
.gitignore
altsvc.c
altsvc.h
amigaos.c
amigaos.h
arpa_telnet.h
asyn-ares.c asyn-ares: ares_getaddrinfo needs no happy eyeballs timer 2021-12-14 15:34:43 +01:00
asyn-thread.c
asyn.h
base64.c
bufref.c
bufref.h
c-hyper.c c-hyper: make CURLOPT_SUPPRESS_CONNECT_HEADERS work 2021-10-25 23:32:45 +02:00
c-hyper.h
checksrc.pl checksrc: improve the SPACESEMICOLON error message 2021-10-18 23:52:30 +02:00
CMakeLists.txt cmake: don't set _USRDLL on a static Windows build 2021-11-18 11:26:30 +01:00
config-amigaos.h
config-dos.h
config-mac.h
config-os400.h config: remove HAVE_WINSOCK_H definition 2021-09-29 15:54:33 +02:00
config-plan9.h
config-riscos.h config: remove HAVE_WINSOCK_H definition 2021-09-29 15:54:33 +02:00
config-tpf.h config: remove HAVE_WINSOCK_H definition 2021-09-29 15:54:33 +02:00
config-vxworks.h config: remove HAVE_WINSOCK_H definition 2021-09-29 15:54:33 +02:00
config-win32.h config: remove HAVE_WINSOCK_H definition 2021-09-29 15:54:33 +02:00
config-win32ce.h config: remove HAVE_WINSOCK_H definition 2021-09-29 15:54:33 +02:00
conncache.c hash: lazy-alloc the table in Curl_hash_add() 2021-12-10 23:16:43 +01:00
conncache.h
connect.c version_win32: Check build number and platform id 2021-12-02 03:39:14 -05:00
connect.h
content_encoding.c lib: avoid fallthrough cases in switch statements 2021-09-29 10:00:52 +02:00
content_encoding.h
cookie.c
cookie.h
curl_addrinfo.c
curl_addrinfo.h
curl_base64.h
curl_config.h.cmake CMake: remove HAVE_WINSOCK_H definition 2021-09-29 15:54:36 +02:00
curl_ctype.c
curl_ctype.h
curl_des.c wolfssl: use for SHA256, MD4, MD5, and setting DES odd parity 2021-10-02 13:55:31 +02:00
curl_des.h
curl_endian.c
curl_endian.h
curl_fnmatch.c
curl_fnmatch.h
curl_get_line.c
curl_get_line.h
curl_gethostname.c
curl_gethostname.h
curl_gssapi.c curl_gssapi: fix build warnings by removing const 2021-10-19 10:34:20 +02:00
curl_gssapi.h
curl_hmac.h sha256/md5: return errors when init fails 2021-12-13 15:54:16 +01:00
curl_krb5.h
curl_ldap.h
curl_md4.h
curl_md5.h sha256/md5: return errors when init fails 2021-12-13 15:54:16 +01:00
curl_memory.h
curl_memrchr.c
curl_memrchr.h
curl_multibyte.c
curl_multibyte.h
curl_ntlm_core.c curl_ntlm_core: use OpenSSL only if DES is available 2021-10-07 18:41:23 +02:00
curl_ntlm_core.h
curl_ntlm_wb.c
curl_ntlm_wb.h
curl_path.c
curl_path.h
curl_printf.h
curl_range.c
curl_range.h
curl_rtmp.c
curl_rtmp.h
curl_sasl.c sasl: binary messages 2021-10-02 23:30:37 +02:00
curl_sasl.h sasl: binary messages 2021-10-02 23:30:37 +02:00
curl_setup_once.h
curl_setup.h connnect: use sysaddr_un fron sys/un.h or custom-defined for windows 2021-09-30 12:27:47 +02:00
curl_sha256.h sha256/md5: return errors when init fails 2021-12-13 15:54:16 +01:00
curl_sspi.c version_win32: Check build number and platform id 2021-12-02 03:39:14 -05:00
curl_sspi.h
curl_threads.c
curl_threads.h
curlx.h
dict.c
dict.h
doh.c doh: remove experimental code for DoH with GET 2021-10-18 13:25:57 +02:00
doh.h
dotdot.c
dotdot.h
dynbuf.c
dynbuf.h
easy.c multi: handle errors returned from socket/timer callbacks 2021-12-06 14:55:52 +01:00
easygetopt.c
easyif.h
easyoptions.c mime: use percent-escaping for multipart form field and file names 2021-11-15 10:40:03 +01:00
easyoptions.h
escape.c
escape.h
file.c
file.h
fileinfo.c
fileinfo.h
firefox-db2pem.sh
formdata.c
formdata.h
ftp.c ftp: make the MKD retry to retry once per directory 2021-11-08 23:05:12 +01:00
ftp.h
ftplistparser.c
ftplistparser.h
getenv.c
getinfo.c
getinfo.h
gopher.c
gopher.h
hash.c hash: lazy-alloc the table in Curl_hash_add() 2021-12-10 23:16:43 +01:00
hash.h hash: lazy-alloc the table in Curl_hash_add() 2021-12-10 23:16:43 +01:00
hmac.c
hostasyn.c
hostcheck.c
hostcheck.h
hostip4.c
hostip6.c
hostip.c misc: remove unused doh flags when CURL_DISABLE_DOH is defined 2021-12-15 08:01:21 +01:00
hostip.h hash: lazy-alloc the table in Curl_hash_add() 2021-12-10 23:16:43 +01:00
hostsyn.c
hsts.c
hsts.h
http2.c http2:set_transfer_url() return early on OOM 2021-12-06 14:32:29 +01:00
http2.h
http_aws_sigv4.c sha256/md5: return errors when init fails 2021-12-13 15:54:16 +01:00
http_aws_sigv4.h
http_chunks.c
http_chunks.h
http_digest.c
http_digest.h
http_negotiate.c
http_negotiate.h
http_ntlm.c lib: avoid fallthrough cases in switch statements 2021-09-29 10:00:52 +02:00
http_ntlm.h
http_proxy.c tftp: mark protocol as not possible to do over CONNECT 2021-11-15 23:13:09 +01:00
http_proxy.h http_proxy: make Curl_connect_done() work for proxy disabled builds 2021-11-12 14:48:45 +01:00
http.c http: enable haproxy support for hyper backend 2021-11-19 14:06:42 +01:00
http.h http: enable haproxy support for hyper backend 2021-11-19 14:06:42 +01:00
idn_win32.c
if2ip.c
if2ip.h
imap.c imap: display quota information 2021-10-28 21:33:02 +02:00
imap.h
inet_ntop.c
inet_ntop.h
inet_pton.c
inet_pton.h
krb5.c lib: fixing comment spelling typos in lib files 2021-10-22 22:53:44 +02:00
ldap.c openldap: implement STARTTLS 2021-12-06 07:53:04 +01:00
libcurl.plist
libcurl.rc libcurl.rc: switch out the copyright symbol for plain ASCII 2021-09-26 23:10:03 +02:00
libcurl.vers.in
llist.c
llist.h
Makefile.am
makefile.amiga
makefile.dj
Makefile.inc
Makefile.m32 Makefile.m32: rename -winssl option to -schannel and tidy up 2021-11-25 17:36:38 +00:00
Makefile.netware
Makefile.vxworks
md4.c wolfssl: use for SHA256, MD4, MD5, and setting DES odd parity 2021-10-02 13:55:31 +02:00
md5.c sha256/md5: return errors when init fails 2021-12-13 15:54:16 +01:00
memdebug.c
memdebug.h
mime.c mime: use percent-escaping for multipart form field and file names 2021-11-15 10:40:03 +01:00
mime.h
mk-ca-bundle.pl lib/mk-ca-bundle.pl: skip certs passed Not Valid After date 2021-09-30 23:37:55 +02:00
mk-ca-bundle.vbs
mprintf.c
mqtt.c
mqtt.h
multi.c hash: lazy-alloc the table in Curl_hash_add() 2021-12-10 23:16:43 +01:00
multihandle.h multi: handle errors returned from socket/timer callbacks 2021-12-06 14:55:52 +01:00
multiif.h multi: handle errors returned from socket/timer callbacks 2021-12-06 14:55:52 +01:00
netrc.c
netrc.h
non-ascii.c
non-ascii.h
nonblock.c
nonblock.h
nwlib.c
nwos.c
openldap.c openldap: several minor improvements 2021-12-15 08:07:53 +01:00
optiontable.pl easyoptions: add the two new PRE* options 2021-09-29 14:48:02 +02:00
parsedate.c
parsedate.h
pingpong.c
pingpong.h
pop3.c sasl: binary messages 2021-10-02 23:30:37 +02:00
pop3.h
progress.c
progress.h
psl.c
psl.h
quic.h
rand.c
rand.h
rename.c
rename.h
rtsp.c
rtsp.h
select.c lib: fixing comment spelling typos in lib files 2021-10-22 22:53:44 +02:00
select.h
sendf.c sendf: accept zero-length data in Curl_client_write() 2021-10-25 23:33:41 +02:00
sendf.h
setopt.c misc: remove unused doh flags when CURL_DISABLE_DOH is defined 2021-12-15 08:01:21 +01:00
setopt.h
setup-os400.h
setup-vms.h
setup-win32.h misc: update copyright years 2021-10-15 17:07:19 +02:00
sha256.c sha256/md5: return errors when init fails 2021-12-13 15:54:16 +01:00
share.c hash: lazy-alloc the table in Curl_hash_add() 2021-12-10 23:16:43 +01:00
share.h
sigpipe.h
slist.c
slist.h
smb.c
smb.h
smtp.c lib: fixing comment spelling typos in lib files 2021-10-22 22:53:44 +02:00
smtp.h
sockaddr.h
socketpair.c
socketpair.h
socks_gssapi.c lib: fixing comment spelling typos in lib files 2021-10-22 22:53:44 +02:00
socks_sspi.c lib: fixing comment spelling typos in lib files 2021-10-22 22:53:44 +02:00
socks.c
socks.h
speedcheck.c
speedcheck.h
splay.c
splay.h
strcase.c
strcase.h
strdup.c
strdup.h
strerror.c multi: handle errors returned from socket/timer callbacks 2021-12-06 14:55:52 +01:00
strerror.h
strtok.c
strtok.h
strtoofft.c
strtoofft.h
system_win32.c version_win32: Check build number and platform id 2021-12-02 03:39:14 -05:00
system_win32.h
telnet.c
telnet.h
tftp.c tftp: mark protocol as not possible to do over CONNECT 2021-11-15 23:13:09 +01:00
tftp.h
timeval.c
timeval.h
transfer.c urlapi: make Curl_is_absolute_url always use MAX_SCHEME_LEN 2021-11-25 08:33:48 +01:00
transfer.h
url.c misc: remove unused doh flags when CURL_DISABLE_DOH is defined 2021-12-15 08:01:21 +01:00
url.h
urlapi-int.h urlapi: make Curl_is_absolute_url always use MAX_SCHEME_LEN 2021-11-25 08:33:48 +01:00
urlapi.c urlapi: accept port number zero 2021-12-03 22:58:41 +01:00
urldata.h misc: remove unused doh flags when CURL_DISABLE_DOH is defined 2021-12-15 08:01:21 +01:00
version_win32.c version_win32: Check build number and platform id 2021-12-02 03:39:14 -05:00
version_win32.h version_win32: Check build number and platform id 2021-12-02 03:39:14 -05:00
version.c
warnless.c
warnless.h
wildcard.c
wildcard.h
x509asn1.c x509asn1: return early on errors 2021-12-15 08:19:29 +01:00
x509asn1.h