summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/hcreate.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-04-23Casting from a const unsigned char ** to a const unsigned char ** seems...jsing2-16/+8
unnecessary. Remove the temporary ugly casts - the comments even call them that! ok guenther@
2014-04-23We do not need ARGV, Argc and Argv - just use argc and argv like normaljsing1-12/+9
people do. ok beck@ (although he wanted #Arrrrrrrgv instead).
2014-04-23explain a bit more what's going on for stupid me.espie1-1/+4
okay otto@
2014-04-23Better, cleaner hash function that computes the same on be and le archs.otto1-10/+8
Should improve sparc64 and other be archs. ok matthew@ miod@
2014-04-23Make libssl and libcrypto compile with -Werrorbeck8-10/+10
ok miod@
2014-04-23Make sure ret->name is NULL'ed before return when freeing.beck2-0/+2
from Dirk Engling <erdgeist@erdgeist.org>
2014-04-23Rather than sprinkling magical numbers everywhere, we can use sizeof()beck2-8/+8
for the size of a fixed size array. From Dirk Engling <erdgeist@erdgeist.org>
2014-04-22unifdef -UAES_LONG for we do not intend to run on platforms where int is smallermiod4-16/+0
than 32 bits.
2014-04-22So it turns out that libcrypto on i386 platforms, unconditionaly compiles thismiod2-78/+0
little gem called OPENSSL_indirect_call(), supposedly to be ``handy under Win32''. In my view, this is a free-win ROP entry point. Why try and return to libc when you can return to libcrypto with an easy to use interface? Better not give that much attack surface, and remove this undocumented entry point. ok beck@ tedu@
2014-04-22When compiling with AES_WRAP_TEST, make main() return a meaningful valuemiod4-3/+44
instead of garbage, and add this to the libcrypto regress. Note these tests are incomplete, as they always use the default IV.
2014-04-22Remove the certs directory that contains ancient files not usedlteo6-171/+0
by anything. "yes, blow it away" beck@
2014-04-22null a pointer to prevent double free. from Dirk Englingtedu2-0/+2
2014-04-22Remove files which look like actual code compiled in libcrypto, but isn't.miod4-340/+0
One even says (in comments): HAS BUGS! DON'T USE
2014-04-22fix memory leaks. from Dirk Englingtedu6-42/+24
2014-04-22Remove meat which either duplicates code found in apps/, or is only of valuemiod40-8459/+0
for 20th century historians, and can be put in the Attic.
2014-04-22- one more mallocarray -> reallocarrayjmc1-3/+3
- use <>
2014-04-22Nuke the last of the windows related defines from the openssl apps.jsing9-66/+0
ok deraadt@
2014-04-22switch to reallocarraytedu2-4/+4
2014-04-22change mallocarray to reallocarray. useful in a few more situations.tedu3-17/+14
malloc can, as always, be emulated via realloc(NULL). ok deraadt
2014-04-22KNF.jsing5-803/+815
2014-04-22More KNF.jsing4-95/+92
2014-04-22More KNF.jsing1-31/+37
2014-04-22More KNF.jsing6-56/+74
2014-04-22More KNF.jsing1-150/+225
2014-04-22More KNF.jsing2-79/+127
2014-04-22gets() is gonelteo1-2/+1
2014-04-21you must have S_ISDIR to playderaadt1-16/+4
2014-04-21KNF.jsing4-478/+498
2014-04-21KNF.jsing14-686/+818
2014-04-21KNF.jsing8-204/+238
2014-04-21use mallocarray(a,b) instead of malloc(a*b)deraadt2-4/+4
2014-04-21more malloc/realloc/calloc cleanups; ok beck kettenisderaadt27-96/+66
2014-04-21KNF.jsing24-2934/+3236
2014-04-21no need for malloc castsderaadt4-4/+4
2014-04-21KNF.jsing6-166/+154
2014-04-21More KNF.jsing8-16/+16
2014-04-21KNF.jsing28-3140/+3224
2014-04-21KNF.jsing8-1116/+1182
2014-04-21KNF.jsing10-1318/+1444
2014-04-21correct man page sectionderaadt1-2/+2
2014-04-21Introducing: void *mallocarray(size_t nmemb, size_t size);deraadt3-10/+36
Like calloc(), except without the cleared-memory gaurantee ok beck guenther, discussed for more than a year...
2014-04-21wrong calloc, see people do carederaadt2-2/+4
2014-04-21KNF.jsing10-3942/+4184
2014-04-21improve realloc/calloc/malloc patterns; ok guentherderaadt32-96/+46
2014-04-21Delete #if 0'd time related functions which are totally expired.deraadt4-148/+0
No point even seeing these when we do the 2038 audit later on...
2014-04-21modernize malloc callderaadt2-2/+2
2014-04-21Replace entire printf-like guts with calls to libc snprintf.deraadt2-1538/+92
funopen(3) is used to interface to BIO descriptors. ok guenther
2014-04-21Bring malloc/calloc/realloc sequences to modern standardderaadt16-54/+38
ok guenther
2014-04-21remove macros wrapping malloc/calloc/free/reallocderaadt1-26/+16
2014-04-21Correctly document the return value of getenv(3)guenther1-6/+8
From Ben Cornett (ben (at) lantern.is)