summaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* When compiling with AES_WRAP_TEST, make main() return a meaningful valuemiod2014-04-224-3/+44
| | | | | instead of garbage, and add this to the libcrypto regress. Note these tests are incomplete, as they always use the default IV.
* Remove the certs directory that contains ancient files not usedlteo2014-04-226-171/+0
| | | | | | by anything. "yes, blow it away" beck@
* null a pointer to prevent double free. from Dirk Englingtedu2014-04-222-0/+2
|
* Remove files which look like actual code compiled in libcrypto, but isn't.miod2014-04-224-340/+0
| | | | One even says (in comments): HAS BUGS! DON'T USE
* fix memory leaks. from Dirk Englingtedu2014-04-226-42/+24
|
* Remove meat which either duplicates code found in apps/, or is only of valuemiod2014-04-2240-8459/+0
| | | | for 20th century historians, and can be put in the Attic.
* - one more mallocarray -> reallocarrayjmc2014-04-221-3/+3
| | | | - use <>
* Nuke the last of the windows related defines from the openssl apps.jsing2014-04-229-66/+0
| | | | ok deraadt@
* switch to reallocarraytedu2014-04-222-4/+4
|
* change mallocarray to reallocarray. useful in a few more situations.tedu2014-04-223-17/+14
| | | | | malloc can, as always, be emulated via realloc(NULL). ok deraadt
* KNF.jsing2014-04-225-803/+815
|
* More KNF.jsing2014-04-224-95/+92
|
* More KNF.jsing2014-04-221-31/+37
|
* More KNF.jsing2014-04-226-56/+74
|
* More KNF.jsing2014-04-221-150/+225
|
* More KNF.jsing2014-04-222-79/+127
|
* gets() is gonelteo2014-04-221-2/+1
|
* you must have S_ISDIR to playderaadt2014-04-211-16/+4
|
* KNF.jsing2014-04-214-478/+498
|
* KNF.jsing2014-04-2114-686/+818
|
* KNF.jsing2014-04-218-204/+238
|
* use mallocarray(a,b) instead of malloc(a*b)deraadt2014-04-212-4/+4
|
* more malloc/realloc/calloc cleanups; ok beck kettenisderaadt2014-04-2127-96/+66
|
* KNF.jsing2014-04-2124-2934/+3236
|
* no need for malloc castsderaadt2014-04-214-4/+4
|
* KNF.jsing2014-04-216-166/+154
|
* More KNF.jsing2014-04-218-16/+16
|
* KNF.jsing2014-04-2128-3140/+3224
|
* KNF.jsing2014-04-218-1116/+1182
|
* KNF.jsing2014-04-2110-1318/+1444
|
* correct man page sectionderaadt2014-04-211-2/+2
|
* Introducing: void *mallocarray(size_t nmemb, size_t size);deraadt2014-04-213-10/+36
| | | | | Like calloc(), except without the cleared-memory gaurantee ok beck guenther, discussed for more than a year...
* wrong calloc, see people do carederaadt2014-04-212-2/+4
|
* KNF.jsing2014-04-2110-3942/+4184
|
* improve realloc/calloc/malloc patterns; ok guentherderaadt2014-04-2132-96/+46
|
* Delete #if 0'd time related functions which are totally expired.deraadt2014-04-214-148/+0
| | | | No point even seeing these when we do the 2038 audit later on...
* modernize malloc callderaadt2014-04-212-2/+2
|
* Replace entire printf-like guts with calls to libc snprintf.deraadt2014-04-212-1538/+92
| | | | | funopen(3) is used to interface to BIO descriptors. ok guenther
* Bring malloc/calloc/realloc sequences to modern standardderaadt2014-04-2116-54/+38
| | | | ok guenther
* remove macros wrapping malloc/calloc/free/reallocderaadt2014-04-211-26/+16
|
* Correctly document the return value of getenv(3)guenther2014-04-211-6/+8
| | | | From Ben Cornett (ben (at) lantern.is)
* KNF.jsing2014-04-2116-1096/+912
|
* clean up files we don't needtedu2014-04-2138-2704/+0
|
* fix accidentally deleted deref.beck2014-04-212-2/+2
|
* ASN1_STRING cleanup - realloc has handled NULL since I had a mulletbeck2014-04-202-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-strlcpybeck2014-04-202-14/+14
| | | | | cruft with an snprintf. "better than what was there" ok guenther@
* Eliminate duplicated logic by switching from malloc+snprintf to asprintfguenther2014-04-202-40/+28
| | | | ok beck@
* Chop off more SSLv2 tentacles and start fixing and noting y2038 issues.guenther2014-04-202-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.guenther2014-04-206-10/+10
|
* Restore beck's rev 1.8: snprintf() was reviewed.guenther2014-04-202-4/+4
|