summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/reallocarray.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-09-18fix "warning: value computed is not used"tb1-2/+2
Add a cast to tell gcc 4.2.1 that the return value is deliberately ignored. This makes the test compile and pass on sparc64.
2020-09-18fix "warning: function declaration isn't a prototype"tb1-3/+3
Make tests compile and pass on sparc64 with gcc 4.2.1 by properly declaring "static int foo()" as "static int foo(void)".
2020-09-18zap redundant linetb1-2/+1
2020-09-18hook symbols test to regresstb1-1/+2
2020-09-18Check availability of the symbols in Symbols.listtb2-0/+182
This regress parses Symbols.list and pulls all public headers out of libcrypto's Makefile to generate a simple program that uses all public symbols. A number of symbols need to be declared extern since they are unavailable in public headers and a handful must be skipped since they are apparently architecture dependent. This would have caught the recent breakage due to the accidental removal of the NAME_CONSTRAINTS_check() function and points out a number of places where cleanup may happen in the future. discussed with beck
2020-09-18Fix potential overflow in CN subject line parsing, thanks tobeck1-4/+5
ASN1_STRING - the gift that keeps on giving. Found by Guido Vranken's cryptofuzzer. ok tb@
2020-09-17Prepare to provide SSL_get_peer_tmp_key().jsing2-9/+20
OpenSSL effectively renamed SSL_get_server_tmp_key() to SSL_get_peer_tmp_key() and removed the client-side restriction. Prepare for a matching rename. ok tb@
2020-09-17Simplify SSL method lookups.jsing5-66/+44
There are three places where we call tls1_get_{client,server}_method() and if that returns NULL, call dtls1_get_{client,server}_method(). Simplify this by combining the lookup into a single function. While here also use uint16_t for version types. ok inoguchi@ millert@
2020-09-17Add a comment saying that the public function NAME_CONSTRAINTS_check(3)schwarze1-2/+5
is intentionally undocumented and needs to be deprecated. No change of the formatted text.
2020-09-17Install the new page SSL_set1_host(3), link to it from relevant places,schwarze6-22/+31
and add two other .Xrs that might help readers find their way. Update the merge notices of all files touched and merge a few trivial changes from the OpenSSL 1.1.1 branch. OK tb@