Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix memory leaks. from Dirk Engling | tedu | 2014-04-22 | 6 | -42/+24 |
| | |||||
* | Remove meat which either duplicates code found in apps/, or is only of value | miod | 2014-04-22 | 40 | -8459/+0 |
| | | | | for 20th century historians, and can be put in the Attic. | ||||
* | - one more mallocarray -> reallocarray | jmc | 2014-04-22 | 1 | -3/+3 |
| | | | | - use <> | ||||
* | Nuke the last of the windows related defines from the openssl apps. | jsing | 2014-04-22 | 9 | -66/+0 |
| | | | | ok deraadt@ | ||||
* | switch to reallocarray | tedu | 2014-04-22 | 2 | -4/+4 |
| | |||||
* | change mallocarray to reallocarray. useful in a few more situations. | tedu | 2014-04-22 | 3 | -17/+14 |
| | | | | | malloc can, as always, be emulated via realloc(NULL). ok deraadt | ||||
* | KNF. | jsing | 2014-04-22 | 5 | -803/+815 |
| | |||||
* | More KNF. | jsing | 2014-04-22 | 4 | -95/+92 |
| | |||||
* | More KNF. | jsing | 2014-04-22 | 1 | -31/+37 |
| | |||||
* | More KNF. | jsing | 2014-04-22 | 6 | -56/+74 |
| | |||||
* | More KNF. | jsing | 2014-04-22 | 1 | -150/+225 |
| | |||||
* | More KNF. | jsing | 2014-04-22 | 2 | -79/+127 |
| | |||||
* | gets() is gone | lteo | 2014-04-22 | 1 | -2/+1 |
| | |||||
* | you must have S_ISDIR to play | deraadt | 2014-04-21 | 1 | -16/+4 |
| | |||||
* | KNF. | jsing | 2014-04-21 | 4 | -478/+498 |
| | |||||
* | KNF. | jsing | 2014-04-21 | 14 | -686/+818 |
| | |||||
* | KNF. | jsing | 2014-04-21 | 8 | -204/+238 |
| | |||||
* | use mallocarray(a,b) instead of malloc(a*b) | deraadt | 2014-04-21 | 2 | -4/+4 |
| | |||||
* | more malloc/realloc/calloc cleanups; ok beck kettenis | deraadt | 2014-04-21 | 27 | -96/+66 |
| | |||||
* | KNF. | jsing | 2014-04-21 | 24 | -2934/+3236 |
| | |||||
* | no need for malloc casts | deraadt | 2014-04-21 | 4 | -4/+4 |
| | |||||
* | KNF. | jsing | 2014-04-21 | 6 | -166/+154 |
| | |||||
* | More KNF. | jsing | 2014-04-21 | 8 | -16/+16 |
| | |||||
* | KNF. | jsing | 2014-04-21 | 28 | -3140/+3224 |
| | |||||
* | KNF. | jsing | 2014-04-21 | 8 | -1116/+1182 |
| | |||||
* | KNF. | jsing | 2014-04-21 | 10 | -1318/+1444 |
| | |||||
* | correct man page section | deraadt | 2014-04-21 | 1 | -2/+2 |
| | |||||
* | Introducing: void *mallocarray(size_t nmemb, size_t size); | deraadt | 2014-04-21 | 3 | -10/+36 |
| | | | | | Like calloc(), except without the cleared-memory gaurantee ok beck guenther, discussed for more than a year... | ||||
* | wrong calloc, see people do care | deraadt | 2014-04-21 | 2 | -2/+4 |
| | |||||
* | KNF. | jsing | 2014-04-21 | 10 | -3942/+4184 |
| | |||||
* | improve realloc/calloc/malloc patterns; ok guenther | deraadt | 2014-04-21 | 32 | -96/+46 |
| | |||||
* | Delete #if 0'd time related functions which are totally expired. | deraadt | 2014-04-21 | 4 | -148/+0 |
| | | | | No point even seeing these when we do the 2038 audit later on... | ||||
* | modernize malloc call | deraadt | 2014-04-21 | 2 | -2/+2 |
| | |||||
* | Replace entire printf-like guts with calls to libc snprintf. | deraadt | 2014-04-21 | 2 | -1538/+92 |
| | | | | | funopen(3) is used to interface to BIO descriptors. ok guenther | ||||
* | Bring malloc/calloc/realloc sequences to modern standard | deraadt | 2014-04-21 | 16 | -54/+38 |
| | | | | ok guenther | ||||
* | remove macros wrapping malloc/calloc/free/realloc | deraadt | 2014-04-21 | 1 | -26/+16 |
| | |||||
* | Correctly document the return value of getenv(3) | guenther | 2014-04-21 | 1 | -6/+8 |
| | | | | From Ben Cornett (ben (at) lantern.is) | ||||
* | KNF. | jsing | 2014-04-21 | 16 | -1096/+912 |
| | |||||
* | clean up files we don't need | tedu | 2014-04-21 | 38 | -2704/+0 |
| | |||||
* | fix accidentally deleted deref. | beck | 2014-04-21 | 2 | -2/+2 |
| | |||||
* | ASN1_STRING cleanup - realloc has handled NULL since I had a mullet | beck | 2014-04-20 | 2 | -34/+20 |
| | | | | | | | | | and parachute pants - and since it's obvious there is no guarantee the caller doesn't pass in the data area in the argument, use memmove instead of memcpy so overlapping areas are handled correctly. Also, pointers can be usefully printed in hex with %p, in error messaeges rather than the bizzaro stuff that was there using mystical buffer lengths and abuse of strlcpy-converted-blindly-from-strcpy | ||||
* | replace a bunch of pointer-arithmatic-strcpy-converted-blindly-to-strlcpy | beck | 2014-04-20 | 2 | -14/+14 |
| | | | | | cruft with an snprintf. "better than what was there" ok guenther@ | ||||
* | Eliminate duplicated logic by switching from malloc+snprintf to asprintf | guenther | 2014-04-20 | 2 | -40/+28 |
| | | | | ok beck@ | ||||
* | Chop off more SSLv2 tentacles and start fixing and noting y2038 issues. | guenther | 2014-04-20 | 2 | -22/+36 |
| | | | | | | | APIs that pass times as longs will have to change at some point... Bump major on both libcrypto and libssl. ok tedu@ | ||||
* | Restore beck's (void)snprintf(): they were reviewed. | guenther | 2014-04-20 | 6 | -10/+10 |
| | |||||
* | Restore beck's rev 1.8: snprintf() was reviewed. | guenther | 2014-04-20 | 2 | -4/+4 |
| | |||||
* | Restore tedu's rev 1.4: snprintf() was reviewed. | guenther | 2014-04-20 | 2 | -2/+2 |
| | |||||
* | Restore beck's rev 1.7: snprintf() was reviewed. | guenther | 2014-04-20 | 2 | -4/+8 |
| | | | | Also, use sizeof() for snprintf()'s size argument | ||||
* | Remove unused/never installed libssl tools and docs and references to them | afresh1 | 2014-04-20 | 20 | -1267/+17 |
| | | | | Sure deraadt | ||||
* | Restore beck's rev 1.21: snprintf() was reviewed | guenther | 2014-04-20 | 2 | -2/+2 |
| |