summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-04-17fix a potential double freeJonathan Gray
ok miod@
2014-04-17remove OPENSSL_realloc_clean usage here - replace with intrinsics to makeBob Beck
it obvious what should happen. ok tedu@
2014-04-17Fully kill FIPS API. Forcible certification conflicts with the goals of aTed Unangst
free software project. ok beck deraadt Ports calling FIPS_mode_set(1): mongodb
2014-04-17Initial KNF.Joel Sing
2014-04-17I've replaced everything in this file. ISC liscense it with my copyrightBob Beck
2014-04-17remove some code that is now unused after guenther's changes in 1.20.Jonathan Gray
2014-04-17KNF.Joel Sing
2014-04-17Initial KNF.Joel Sing
2014-04-17simply wrap around intrinsics, and knf cleanup.Bob Beck
ok miod@ deraadt@
2014-04-17Change library to use intrinsic memory allocation functions instead ofBob Beck
OPENSSL_foo wrappers. This changes: OPENSSL_malloc->malloc OPENSSL_free->free OPENSSL_relloc->realloc OPENSSL_freeFunc->free
2014-04-17Revert unintended whitespace changes.Joel Sing
2014-04-17OPENSSL_gmtime() is not a gmtime() wrapper. It is a gmtime_r().Theo de Raadt
Always trying to confuse people... ok guenther
2014-04-17OPENSSL_DECLARE_EXIT serves no purpose.Theo de Raadt
2014-04-171. RAND_seed is now DEPRECATEDTheo de Raadt
2. Even passing a digest in as entropy is sloppy. But apparently the OpenSSL guys could find no objects of lesser value to pass to the pluggable random subsystem, and had to resort to private keys and digests. Classy. ok djm
2014-04-17RAND_seed now does nothing, so skip the operationTheo de Raadt
2014-04-17Do not feed RSA private key information to the random subsystem asTheo de Raadt
entropy. It might be fed to a pluggable random subsystem.... What were they thinking?! ok guenther
2014-04-17remove duplicated tests in if statementsJonathan Gray
ok krw@ sthen@ deraadt@
2014-04-17unistd.h is always in the same place; no need to #include the result ofTheo de Raadt
a maze of conditional #define's
2014-04-17OpenSSL PR#3309: when looking for an extension, set the last found positionStuart Henderson
to -1 to properly search all extensions. ok tedu@ From http://git.openssl.org/gitweb/?p=openssl.git;a=commit;h=300b9f0b70
2014-04-17move enginetest to regress as was done with the other testsJonathan Gray
2014-04-17call the correct decrypt function in aes_cbc_cipher()Jonathan Gray
From: commit e9c80e04c1a3b5a0de8e666155ab4ecb2697a77d Author: Andy Polyakov <appro@openssl.org> Date: Wed Dec 18 21:42:46 2013 +0100 evp/e_[aes|camellia].c: fix typo in CBC subroutine. It worked because it was never called. Our e_camellia.c does not have this problem. ok miod@ deraadt@
2014-04-17tag some functions with bounded. idea and ok djmTed Unangst
2014-04-16TANSTAAFL - delete the buf freelist code. if you need a better malloc, getTed Unangst
a better malloc. ok beck deraadt
2014-04-16add back SRP. i was being too greedy.Ted Unangst
2014-04-16Clean up dangerous strncpy use. This included a use where the resultingBob 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 deathTed 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-16delete a few leftoversTed Unangst
2014-04-16fix a few bugs observed on http://www.viva64.com/en/b/0250/Ted Unangst
ok krw miod
2014-04-16Thanks to the knobs in http://tools.ietf.org/html/rfc5746, we have a knobBob Beck
to say "allow this connection to negotiate insecurely". de-fang the code that respects this option to ignore it. ok miod@
2014-04-16disentangle SRP code from TLSTed Unangst
2014-04-16whack the ifdef pinata:Ted Unangst
OPENSSL_SYSNAME_VXWORKS OPENSSL_SYS_VMS OPENSSL_SYS_MSDOS OPENSSL_UNISTD OPENSSL_SYS_WIN16 WIN_CONSOLE_BUG OPENSSL_SYS_WINCE SGTTY OPENSSL_SYS_MACINTOSH_CLASSIC MAC_OS_GUSI_SOURCE OPENSSL_SYS_NETWARE OPENSSL_SYS_SUNOS __DJGPP__ OPENSSL_SYS_BEOS OPENSSL_SYS_WIN32
2014-04-16Zero-pad usec format to handle values less than 100,000 correctlyPhilip Guenther
ok matthew@ tedu@
2014-04-16Mandatory Surgeon Guenther's Warning: This code could not possibly beTed Unangst
correct because it doesn't zerofill the front of usecs, but that's the way I found it. a more thorough emulation of the old code, but with fewer whacky snprintf pointer arithmetic antics. ok beck guenther
2014-04-16revert. the full horror has only now revealed itself.Ted Unangst
2014-04-16replace some bio_snprintf crazy with regular snprintf.Ted Unangst
beck had a diff to convert to strftime, but it's easier to verify this is functionally the same. ok beck.
2014-04-16Kill the bogus "send an SSLv3/TLS hello in SSLv2 format" crap fromPhilip Guenther
the SSLv23_* client code. The server continues to accept it. It also kills the bits for SSL2 SESSIONs; even when the server gets an SSLv2-style compat handshake, the session that it creates has the correct version internally. ok tedu@ beck@
2014-04-16More KNF.Joel Sing
2014-04-16More KNF.Joel Sing
2014-04-16Make this byzantine horror a shell of it's former self by stubbing theBob Beck
functions. The ability to set the debug mem functions died with mem.c, but some of the rest of this is still exposed API so we can't delete it.. yet... ok tedu@
2014-04-16Some software expects RAND_status() to return 1 for success, so alwaysReyk Floeter
return 1 in the arc4random backend because there is no possible error condition. Unbreaks lynx, git and friends. ok miod@ dcoppa@
2014-04-16Clean up non-fatal error handling - we know which error numbers we haveJoel Sing
defined. ok miod@ beck@
2014-04-16Sync the list of man pages for libcrypto, explicity rename conflictingMartin Pieuchot
pages instead of doing it in the Makefiles and move a libssl page where it belongs. ok miod@
2014-04-16Remove _CRAY references. Note that this pleads for the use of <stdint.h>Miod Vallat
fixed-width types instead of choosing int or long depending upon what we think the architecture support.
2014-04-16Remove DES_read_password and DES_read_2passwords which are `modern' flavoursMiod Vallat
of des_old.h routines, acting as wrappers about the OpenSSL UI API. Nothing should use these functions directly. Riding the recent libcrypto major bump (in a `des' car).
2014-04-16Your operating system memory allocation functions are your friend. If theyBob Beck
are not please fix your operating system. Replace mem.c with an API-compatible wrapper that just calls the system functions and does not allow a one word modification of a variable in a running shared library to turn on memory debug functions that expose things that should not be seen. ok tedu@
2014-04-16dead fileTed Unangst
2014-04-16API compat fix. RAND_load_file can never fail now. discovered and ok beck.Ted Unangst
2014-04-16Remove non-posix support. Why is OPENSSL_isservice even here?Ted Unangst
Is this a crypto library or a generic platform abstraction library? "A hack to make Visual C++ 5.0 work correctly" ... time to upgrade.
2014-04-16strncpy(d, s, strlen(s)) is a special kind of stupid. even when it's right,Ted Unangst
it looks wrong. replace with auditable code and eliminate many strlen calls to improve efficiency. (wait, did somebody say FASTER?) ok beck