Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make sure ret->name is NULL'ed before return when freeing. | beck | 2014-04-23 | 2 | -0/+2 |
| | | | | from Dirk Engling <erdgeist@erdgeist.org> | ||||
* | Rather than sprinkling magical numbers everywhere, we can use sizeof() | beck | 2014-04-23 | 2 | -8/+8 |
| | | | | | for the size of a fixed size array. From Dirk Engling <erdgeist@erdgeist.org> | ||||
* | unifdef -UAES_LONG for we do not intend to run on platforms where int is smaller | miod | 2014-04-22 | 4 | -16/+0 |
| | | | | than 32 bits. | ||||
* | So it turns out that libcrypto on i386 platforms, unconditionaly compiles this | miod | 2014-04-22 | 2 | -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@ | ||||
* | When compiling with AES_WRAP_TEST, make main() return a meaningful value | miod | 2014-04-22 | 4 | -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 used | lteo | 2014-04-22 | 6 | -171/+0 |
| | | | | | | by anything. "yes, blow it away" beck@ | ||||
* | null a pointer to prevent double free. from Dirk Engling | tedu | 2014-04-22 | 2 | -0/+2 |
| | |||||
* | Remove files which look like actual code compiled in libcrypto, but isn't. | miod | 2014-04-22 | 4 | -340/+0 |
| | | | | One even says (in comments): HAS BUGS! DON'T USE | ||||
* | 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@ |