Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-05-05 | Sort and group includes. | Joel Sing | |
2014-05-05 | Repair BIO_socket_nbio operation. | Joel Sing | |
ok miod@ | |||
2014-04-27 | Use C99 initializers for the various FOO_METHOD structs. More readable, and | Miod Vallat | |
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@ | |||
2014-04-26 | Replace all use of ERR_add_error_data with ERR_asprintf_error_data. | Bob Beck | |
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@ | |||
2014-04-26 | This is not FreeBSD. | Joel Sing | |
ok miod@ | |||
2014-04-23 | The usual idiom to cope with systems not defining socklen_t is to add a | Miod Vallat | |
#define socklen_t int somewhere (or a typedef, whatever gives you an integer type of the size your system expects as the 3rd argument of accept(2), really). OpenSSL here is a bit more creative by using an union of an int and a size_t, and extra code if sizeof(int) != sizeof(size_t) in order to recover the proper size. With a comment mentioning that this has no chance to work on a platform with a stack growing up and accept() returning an int, fortunately this seems to work on HP-UX. Switch to the light side of the force and declare and use socklen_t variables, period. If your system does not define socklen_t, consider bringing it back to your vendor for a refund. ok matthew@ tedu@ | |||
2014-04-23 | close socket in failure cases too | Ted Unangst | |
2014-04-23 | if realloc failed, BIO_accept would leak memory and return NULL, causing | Ted Unangst | |
caller to crash. Fix leak and return an error instead. from Chad Loder | |||
2014-04-21 | wrong calloc, see people do care | Theo de Raadt | |
2014-04-21 | Replace entire printf-like guts with calls to libc snprintf. | Theo de Raadt | |
funopen(3) is used to interface to BIO descriptors. ok guenther | |||
2014-04-21 | Bring malloc/calloc/realloc sequences to modern standard | Theo de Raadt | |
ok guenther | |||
2014-04-19 | We'll interpret a (void) cast on snprintf() to mean it's been verified that | Philip Guenther | |
truncation is either desirable, not an issue, or is detected and handled later ok deraadt@ | |||
2014-04-19 | use intrinsic strlcpy and strlcat everywhere so we only have one set of | Bob Beck | |
funcitons to check for incorrect use. keep BUF_strlcpy and BUF_strlcat for API comptibility only. ok tedu@ | |||
2014-04-18 | unifdef NO_SOCK | Ted Unangst | |
2014-04-18 | Put the final pieces from e_os.h in the required places, and remove it. | Theo de Raadt | |
"dance on it's grave" says beck ok guenther beck | |||
2014-04-18 | unistd.h for protos where needed | Theo de Raadt | |
2014-04-17 | don't fake up SSIZE_MAX | Ted Unangst | |
2014-04-17 | more windows/netware leftovers | Ted Unangst | |
2014-04-17 | delete if 0 code | Ted Unangst | |
2014-04-17 | kill REF_PRINT/REF_CHECK debugging framework noone would use | Theo de Raadt | |
ok miod | |||
2014-04-17 | Mostly gut e_os.h: | Theo de Raadt | |
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 | |||
2014-04-17 | some KNF cleanup following the script | Theo de Raadt | |
2014-04-17 | Change library to use intrinsic memory allocation functions instead of | Bob Beck | |
OPENSSL_foo wrappers. This changes: OPENSSL_malloc->malloc OPENSSL_free->free OPENSSL_relloc->realloc OPENSSL_freeFunc->free | |||
2014-04-17 | Revert unintended whitespace changes. | Joel Sing | |
2014-04-17 | tag some functions with bounded. idea and ok djm | Ted Unangst | |
2014-04-16 | Clean up dangerous strncpy use. This included a use where the resulting | Bob Beck | |
string was potentially not nul terminated and a place where malloc return was unchecked. while we're at it remove dummytest.c ok miod@ | |||
2014-04-16 | - Why do we hide from the OpenSSL police, dad? | Miod Vallat | |
- Because they're not like us, son. They use macros to wrap stdio routines, for an undocumented (OPENSSL_USE_APPLINK) use case, which only serves to obfuscate the code. ok tedu@ | |||
2014-04-16 | > As I walk through the valley of the shadow of death | Ted Unangst | |
> I take a look at my life and realize there's nothin' left > Cause I've been blasting and laughing so long, > That even my mama thinks that my mind is gone Remove even more unspeakable evil being perpetuated in the name of VMS. (and lesser evils done in the name of others.) ok miod | |||
2014-04-16 | More KNF. | Joel Sing | |
2014-04-16 | More KNF. | Joel Sing | |
2014-04-16 | Clean up non-fatal error handling - we know which error numbers we have | Joel Sing | |
defined. ok miod@ beck@ | |||
2014-04-15 | we don't use these files for building | Ted Unangst | |
2014-04-15 | Send the rotIBM stream cipher (ebcdic) to Valhalla to party for eternity | Bob Beck | |
with the bearded ones... some API's that nobody should be using will dissapear with this commit. | |||
2014-04-15 | Toss a `unifdef -U OPENSSL_SYS_WINDOWS' bomb into crypto/bio. | Joel Sing | |
ok miod@ | |||
2014-04-15 | Remove VMS code. | Joel Sing | |
ok miod@ beck@ | |||
2014-04-15 | First pass at applying KNF to the OpenSSL code, which almost makes it | Joel Sing | |
readable. This pass is whitespace only and can readily be verified using tr and md5. | |||
2014-04-15 | Part 1 of eliminating BIO_snprintf(). This fixes mechanical conversions | Bob Beck | |
where the return value is ignored changing to (void) snprintf. ok deraadt@ | |||
2014-04-14 | remove auto-generated dependencies from the old unused build system, so | Theo de Raadt | |
that it is easier to find code pieces. They are getting in the way. ok miod | |||
2014-04-14 | two SHUTDOWN2 got away; noticed by beck | Theo de Raadt | |
2014-04-13 | Use shutdown(s, SHUT_RDWR) instead of shutdown(s, 2). | Matthew Dempsky | |
ok beck deraadt | |||
2014-04-13 | Remove various horrible socket syscall wrappers, especially SHUTDOWN* | Theo de Raadt | |
which did shutdown + close, all nasty and surprising. Use the raw syscalls that everyone knows the behaviour of. ok beck matthew | |||
2014-04-13 | Flense a variety of windows support stuff, and a strange gettimeofday function. | Bob Beck | |
ok deraadt@ | |||
2014-04-13 | Remove some stuff that isn't needed. | Bob Beck | |
ok miod@ deraadt@ | |||
2014-04-13 | Merge conflicts; remove MacOS, Netware, OS/2, VMS and Windows build machinery. | Miod Vallat | |
2012-10-13 | resolve conflicts | Damien Miller | |
2012-01-05 | OpenSSL 1.0.0f: merge | Damien Miller | |
2011-11-03 | openssl-1.0.0e: resolve conflicts | Damien Miller | |
2010-10-01 | resolve conflicts, fix local changes | Damien Miller | |
2009-04-06 | resolve conflicts | Damien Miller | |
2009-01-09 | resolve conflicts | Damien Miller | |