Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | More KNF. | jsing | 2014-04-18 | 8 | -203/+195 |
| | |||||
* | fix another potential double free | jsg | 2014-04-18 | 1 | -2/+2 |
| | | | | ok miod@ lteo@ jca@ | ||||
* | -netware | tedu | 2014-04-18 | 1 | -6/+2 |
| | |||||
* | blunt force knf | tedu | 2014-04-18 | 19 | -1245/+924 |
| | |||||
* | lob a few more knf grenades in here to soften things up. | tedu | 2014-04-18 | 54 | -1796/+999 |
| | |||||
* | putting most of the braces in the right column is the very least we can do. | tedu | 2014-04-18 | 54 | -2030/+2034 |
| | |||||
* | stab at indentation | tedu | 2014-04-17 | 5 | -737/+725 |
| | |||||
* | don't fake up SSIZE_MAX | tedu | 2014-04-17 | 1 | -8/+0 |
| | |||||
* | more windows/netware leftovers | tedu | 2014-04-17 | 2 | -22/+3 |
| | |||||
* | delete if 0 code | tedu | 2014-04-17 | 4 | -77/+14 |
| | |||||
* | more spring VMS cleanup | giovanni | 2014-04-17 | 3 | -14/+0 |
| | | | | ok miod@ lteo@ | ||||
* | no need for a variable which is hardcoded and only used in an snprintf, | sthen | 2014-04-17 | 1 | -13/+9 |
| | | | | ok giovanni@. tidy comments nearby while there. | ||||
* | Use !defined() rather than empty(). | miod | 2014-04-17 | 1 | -2/+2 |
| | |||||
* | kill REF_PRINT/REF_CHECK debugging framework noone would use | deraadt | 2014-04-17 | 15 | -209/+4 |
| | | | | ok miod | ||||
* | Some VMS and WIN32 cleanup | giovanni | 2014-04-17 | 1 | -28/+5 |
| | | | | ok miod@ lteo@ | ||||
* | Get rid of MS Visual C compiler and Intel C compiler specific defines. | miod | 2014-04-17 | 13 | -238/+8 |
| | |||||
* | There are no plans to ever build this with the Metrojerks compiler. | miod | 2014-04-17 | 2 | -20/+2 |
| | |||||
* | Remove support for big-endian i386 and amd64. | miod | 2014-04-17 | 3 | -22/+1 |
| | | | | | | | | | | | | | Before someone suggests the OpenSSL people are junkies, here is what they mention about this: /* Most will argue that x86_64 is always little-endian. Well, * yes, but then we have stratus.com who has modified gcc to * "emulate" big-endian on x86. Is there evidence that they * [or somebody else] won't do same for x86_64? Naturally no. * And this line is waiting ready for that brave soul:-) */ So, yes, they are on drugs. But they are not alone, the stratus.com people are, too. | ||||
* | Mostly gut e_os.h: | deraadt | 2014-04-17 | 7 | -14/+14 |
| | | | | | | | | USE_SOCKETS is unrelated to using sockets, but just pulls in .h files. It makes every file buy a kitchen sink, because 11 files forgot to. EXIT() is really exit(), a gentle surprise but... OPENSSL_EXIT() is really just return(), because noone compiles the openssl command non-monolithic anymore | ||||
* | malloc + memset 0 -> calloc | miod | 2014-04-17 | 1 | -22/+2 |
| | | | | | (not that it matters much as this is in disabled code, for we don't build with zlib support) | ||||
* | -Wall | tedu | 2014-04-17 | 1 | -1/+3 |
| | |||||
* | unused variable | tedu | 2014-04-17 | 1 | -3/+1 |
| | |||||
* | a little less obfuscation | tedu | 2014-04-17 | 1 | -17/+2 |
| | |||||
* | fold prototypes into o_str.c. miod | tedu | 2014-04-17 | 2 | -69/+4 |
| | |||||
* | Aren't you glad to have this file tell you that ``C2.pl works''? Bonus point | miod | 2014-04-17 | 1 | -1/+0 |
| | | | | if you can spot C2.pl. | ||||
* | Nuke BN_DEBUG_LEVITTE | miod | 2014-04-17 | 1 | -10/+0 |
| | |||||
* | No need to consider being compiled by NASM anymore. | miod | 2014-04-17 | 1 | -4/+0 |
| | |||||
* | Stop paying lip service to non-AT&T syntax assemblers in the x86 world. | miod | 2014-04-17 | 3 | -386/+1 |
| | |||||
* | todo: do not leave 15 year old todo lists in the tree. | miod | 2014-04-17 | 1 | -3/+0 |
| | |||||
* | fix BIO_snprintf usage in here. | beck | 2014-04-17 | 1 | -8/+19 |
| | | | | ok tedu@ | ||||
* | Use of OPENSSL_SYS_xxx defines in public header files considered harmful. | miod | 2014-04-17 | 4 | -28/+1 |
| | |||||
* | Bob O.D.'ed on the o_dir code so high he forgot to rm the `test' after | miod | 2014-04-17 | 1 | -66/+0 |
| | | | | rewriting the code. | ||||
* | sprintf: bad. | miod | 2014-04-17 | 1 | -1/+1 |
| | | | | | | snprintf: good. snprintf with a correct size: better! (harmless in this case) | ||||
* | Remove utils that we don't use | afresh1 | 2014-04-17 | 3 | -165/+0 |
| | | | | | | | opensslwrap.sh and shlib_wrap.sh are used by tests that are getting replaced, x86asm.sh is obsoleted by our Makefile machinery ok miod | ||||
* | Remove unused ssl utils | afresh1 | 2014-04-17 | 30 | -5719/+0 |
| | | | | | | This code is the reason perl has a name as a write only language. ok deraadt miod | ||||
* | Remove oh-so-important-from-a-security-pov OpenSSL_rtdsc() function. | miod | 2014-04-17 | 12 | -251/+2 |
| | |||||
* | fix some more leaks, mostly suggestions from miod | jsg | 2014-04-17 | 6 | -2/+14 |
| | | | | ok miod@ | ||||
* | Remove the benchmark part of the selftest. It uses the undocumented | miod | 2014-04-17 | 1 | -43/+0 |
| | | | | | | | OPENSSL_rdtsc() routine to get a high-precision timestamp, and (although this is the only user of this routine in libcrypto) forces every platform willing to provide fast assembly versions of some routines, to also provide OPENSSL_rdtsc(). | ||||
* | Ok, there was a need for OPENSSL_cleanse() instead of bzero() to prevent | miod | 2014-04-17 | 10 | -373/+2 |
| | | | | | | | | | | | supposedly smart compilers from optimizing memory cleanups away. Understood. Ok, in case of an hypothetically super smart compiler, OPENSSL_cleanse() had to be convoluted enough for the compiler not to recognize that this was actually bzero() in disguise. Understood. But then why there had been optimized assembler versions of OPENSSL_cleanse() is beyond me. Did someone not trust the C obfuscation? | ||||
* | Move the machine-specific parts of the libcrypto Makefile to per-arch makefile | miod | 2014-04-17 | 5 | -104/+242 |
| | | | | | | fragments, to ease maintainance, and see through the fog of bugs. "looks good" deraadt@ | ||||
* | some KNF cleanup following the script | deraadt | 2014-04-17 | 22 | -169/+166 |
| | |||||
* | fix some of the leaks | jsg | 2014-04-17 | 4 | -7/+23 |
| | | | | ok miod@ looks good deraadt@ | ||||
* | remove OPENSSL_realloc_clean usage here - replace with intrinsics to make | beck | 2014-04-17 | 1 | -4/+7 |
| | | | | | it obvious what should happen. ok tedu@ | ||||
* | Fully kill FIPS API. Forcible certification conflicts with the goals of a | tedu | 2014-04-17 | 3 | -80/+2 |
| | | | | | | free software project. ok beck deraadt Ports calling FIPS_mode_set(1): mongodb | ||||
* | Initial KNF. | jsing | 2014-04-17 | 4 | -508/+505 |
| | |||||
* | I've replaced everything in this file. ISC liscense it with my copyright | beck | 2014-04-17 | 1 | -54/+13 |
| | |||||
* | KNF. | jsing | 2014-04-17 | 1 | -3/+3 |
| | |||||
* | Initial KNF. | jsing | 2014-04-17 | 3 | -139/+122 |
| | |||||
* | simply wrap around intrinsics, and knf cleanup. | beck | 2014-04-17 | 1 | -57/+54 |
| | | | | ok miod@ deraadt@ | ||||
* | Change library to use intrinsic memory allocation functions instead of | beck | 2014-04-17 | 200 | -1004/+1004 |
| | | | | | | | | OPENSSL_foo wrappers. This changes: OPENSSL_malloc->malloc OPENSSL_free->free OPENSSL_relloc->realloc OPENSSL_freeFunc->free |