Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove WIN32, WIN64 and MINGW32 tentacles. | miod | 2014-04-28 | 28 | -130/+14 | |
| | | | | | | | | Also check for _LP64 rather than __arch64__ (the former being more reliable than __LP64__ or __arch64__) to tell 64-bit int platforms apart from 32-bit int platforms. Loosely based upon a diff from Martijn van Duren on tech@ | |||||
* | use the correct algorithm mask. reported by satish lvr via | tedu | 2014-04-28 | 2 | -2/+2 | |
| | | | | | http://marc.info/?l=openssl-dev&m=139779977532459&w=2 ok miod | |||||
* | SSL_OP_ALL is supposed to be all options and workarounds that are safe, | tedu | 2014-04-28 | 2 | -8/+12 | |
| | | | | | | | | but disabling attack mitigations is not safe. 0.9.6d contained a workaround for an attack against CBC modes. 0.9.6e disabled it by default because "some" implementations couldn't handle empty fragments. 12 years have passed. Does anybody still care? Let's find out. ok miod | |||||
* | Remove ending cplusplus guard followed by starting cplusplus guard; from | miod | 2014-04-28 | 2 | -14/+0 | |
| | | | | Gebruiker Schoot. | |||||
* | Leftover includes and local declarations; from Gebruiker Schoot | miod | 2014-04-28 | 2 | -10/+0 | |
| | ||||||
* | typo in comment | miod | 2014-04-27 | 6 | -6/+6 | |
| | ||||||
* | Remove orphaned l2n6 and n2l6 macros. | miod | 2014-04-27 | 2 | -28/+0 | |
| | ||||||
* | Use C99 initializers for the various FOO_METHOD structs. More readable, and | miod | 2014-04-27 | 114 | -2246/+1672 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | avoid unreadable/unmaintainable constructs like that: const EVP_PKEY_ASN1_METHOD cmac_asn1_meth = { EVP_PKEY_CMAC, EVP_PKEY_CMAC, 0, "CMAC", "OpenSSL CMAC method", 0,0,0,0, 0,0,0, cmac_size, 0, 0,0,0,0,0,0,0, cmac_key_free, 0, 0,0 }; ok matthew@ deraadt@ | |||||
* | static const char * = "" -> static const char[] = "", to produce shorter code. | miod | 2014-04-27 | 6 | -6/+6 | |
| | | | | No functional change. | |||||
* | Unifdef -U OPENSSL_BUILD_SHLIBCRYPTO, since all it causes under Unix is to | miod | 2014-04-27 | 12 | -70/+2 | |
| | | | | redefine OPENSSL_EXTERN from `extern' to `extern'. | |||||
* | Put explicit (void) in function declarations and shuffle keywords in some | miod | 2014-04-27 | 32 | -36/+36 | |
| | | | | | declaration to pass -Wextra, should we want to add it to CFLAGS. No binary change. | |||||
* | We do not need a separate file for two compatibility wrapper functions. | jsing | 2014-04-27 | 5 | -140/+38 | |
| | | | | ok miod@ | |||||
* | Fix leak last commit introduced. Spotted by Sebastian Kapfer. | beck | 2014-04-27 | 2 | -0/+2 | |
| | ||||||
* | Appease gcc3 -Wuninitialized. | miod | 2014-04-26 | 2 | -2/+2 | |
| | ||||||
* | Replace all use of ERR_add_error_data with ERR_asprintf_error_data. | beck | 2014-04-26 | 74 | -270/+222 | |
| | | | | | | | | This avoids a lot of ugly gymnastics to do snprintfs before sending the bag of strings to ERR, and eliminates at least one place in dso_dlfctn.c where it was being called with the incorrect number of arguments and using random things off the stack as addresses of strings. ok krw@, jsing@ | |||||
* | More KNF. | jsing | 2014-04-26 | 4 | -12/+20 | |
| | ||||||
* | KNF. | jsing | 2014-04-26 | 10 | -848/+828 | |
| | ||||||
* | This is not FreeBSD. | jsing | 2014-04-26 | 2 | -36/+0 | |
| | | | | ok miod@ | |||||
* | Do you really want to build OpenSSL for 16-bit Windows? Well, we don't. | jsing | 2014-04-26 | 2 | -12/+0 | |
| | | | | ok miod@ | |||||
* | KNF. | jsing | 2014-04-25 | 4 | -510/+502 | |
| | ||||||
* | Fold in the zlib_cleanup macro. | jsing | 2014-04-25 | 2 | -7/+4 | |
| | ||||||
* | do_pipe_sig is now only used in openssl.c - just call signal() directly | jsing | 2014-04-25 | 2 | -3/+1 | |
| | | | | from there instead and ditch the macro. | |||||
* | NON_MAIN no longer means anything so remove it, along with APP_INIT. | jsing | 2014-04-25 | 3 | -17/+0 | |
| | | | | ok miod@ | |||||
* | The apps_{startup,shutdown} macro mess is now only used in openssl.c - | jsing | 2014-04-25 | 2 | -36/+42 | |
| | | | | | | reduce the macro to two functions and just call them instead. ok miod@ | |||||
* | Clean up the remaining TTY related remnants. | jsing | 2014-04-25 | 2 | -82/+16 | |
| | | | | ok miod@ | |||||
* | Remove defined varibles that no longer do anything. | jsing | 2014-04-25 | 1 | -3/+2 | |
| | | | | ok miod@ | |||||
* | Use const char *. | jsing | 2014-04-25 | 2 | -2/+2 | |
| | | | | Suggested by miod@ | |||||
* | KNF fixes | lteo | 2014-04-25 | 2 | -128/+138 | |
| | ||||||
* | Try to clean the maze of <openssl/bn.h> defines regarding the BN internals. | miod | 2014-04-24 | 21 | -455/+51 | |
| | | | | | | | | | | | | | | | | | | | | | | | The intent of this change is to only keep support for two kind of architectures: - those with 32-bit int and long, and 64-bit long long, where ``long * long -> long long'' multiplication routines are available. - those with 64-bit int and long, and no 128-bit long long type. This gets rid of the SIXTY_FOUR_BIT_LONG, SIXTY_FOUR_BIT (not the same!), THIRTY_TWO_BIT, SIXTEEN_BIT and EIGHT_BIT defines. After this change, the types and defines are as follows: arch: 64bit 32bit rationale BN_LLONG undefined defined defined if l * l -> ll BN_ULLONG undefined u long long result of BN_LONG * BN_LONG BN_ULONG u long u int native register size BN_LONG long int the same, signed BN_BITS 128 64 size of 2*BN_ULONG in bits BN_BYTES 8 4 size of 2*BN_ULONG in bytes BN_BITS2 64 32 BN_BITS / 2 Tested on various 32-bit and 64-bit OpenBSD systems of various endianness. | |||||
* | Fix indentation. | mcbride | 2014-04-24 | 2 | -422/+416 | |
| | ||||||
* | Bring back the SSL_OP_PKCS1_CHECK_* defines (defined to zero, as they already | miod | 2014-04-24 | 2 | -0/+8 | |
| | | | | were), after stumbling upon code (mis)using them in the wild. | |||||
* | rearrange a bit of code/comments | tedu | 2014-04-24 | 2 | -134/+178 | |
| | ||||||
* | uses ssh these days, not rsh; ok tedu | jmc | 2014-04-24 | 1 | -2/+2 | |
| | ||||||
* | unifdef MSDOS | giovanni | 2014-04-24 | 2 | -24/+2 | |
| | | | | ok miod@ | |||||
* | obvious use after free was less obviously not a use after free. | tedu | 2014-04-24 | 1 | -1/+1 | |
| | | | | | who uses '\0' as a null pointer constant? fix my mistake and restore original semantics. | |||||
* | More KNF. | jsing | 2014-04-24 | 2 | -184/+244 | |
| | ||||||
* | Make it compile again. | jsing | 2014-04-24 | 2 | -2/+2 | |
| | ||||||
* | Remove some malloc/strlcpy/strlcat horror. Just use asprintf and avoid an | jsing | 2014-04-24 | 2 | -50/+24 | |
| | | | | | | unchecked malloc at the same time. ok beck@ | |||||
* | add ERR_asprintf_error_data, A tool to be used to get rid of the far too | beck | 2014-04-24 | 4 | -50/+52 | |
| | | | | | | | | | frequent construct of 30 lines of pointer and strlcat insanity followed by an ERR_add_error_data. I will sweep through here like a chubby mongol horde in the next few days pillaging crappy ERR_add_error_data's. Oh and while we're at it fix the nasty vdata function to use something less hard on the eyes. ok jsing@ | |||||
* | You want signals?!? I'll give you signals!!! Oh, and we have termios as | jsing | 2014-04-24 | 2 | -72/+0 | |
| | | | | | | well... ok beck@ | |||||
* | More KNF. | jsing | 2014-04-24 | 4 | -74/+74 | |
| | ||||||
* | More KNF, things that couldn't be verified with md5(1), and some whitespace | mcbride | 2014-04-24 | 8 | -468/+508 | |
| | | | | I missed on the first go around. | |||||
* | unifdef -U LINT | jsing | 2014-04-24 | 6 | -18/+0 | |
| | ||||||
* | When OPENSSL_C is not defined, apps_startup becomes a | jsing | 2014-04-24 | 38 | -72/+72 | |
| | | | | | | | signal(SIGPIPE, SIG_IGN) and apps_shutdown is a no-op. So just do that instead. ok beck@ | |||||
* | KNF | mcbride | 2014-04-24 | 6 | -2052/+2974 | |
| | ||||||
* | Remove more FIPS tenticles. | jsing | 2014-04-24 | 1 | -12/+1 | |
| | | | | ok beck@ | |||||
* | Rip a bunch of ifdefs from speed. We know we can fork, have SIGALRM and | jsing | 2014-04-24 | 1 | -267/+2 | |
| | | | | | | do not use lint. ok miod@ | |||||
* | A fantastic way to make a large unsigned number is to assign | beck | 2014-04-24 | 2 | -0/+4 | |
| | | | | | | | | | a small signed one to it.. Some people on OpenSSL's list noticed - http://marc.info/?l=openssl-dev&m=139809485525663&w=2 This should fix that, and make sure we don't try to write out insane amounts of stuff. ok miod@ tedu@ | |||||
* | remove redundant asign. from David Hill | tedu | 2014-04-24 | 2 | -2/+0 | |
| | ||||||
* | Support for the -ssl2 option has been removed, so remove it from usage | lteo | 2014-04-24 | 1 | -1/+0 | |
| | | | | | | as well ("openssl ciphers -h"). "sure" miod@ |