summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/system.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-07-11Only import cryptlib.h in the four source files that actually need it.jsing690-2194/+2290
Remove the openssl public includes from cryptlib.h and add a small number of includes into the source files that actually need them. While here, also sort/group/tidy the includes. ok beck@ miod@
2014-07-11Add a small note about LibReSSL at the start of this.beck2-0/+14
ok jsing@
2014-07-11No need to keep ssl23_foo() flavours mapping to ssl3_foo().miod9-86/+24
ok tedu@
2014-07-11Remove JPAKE remnants - there is no jpake.h, so if OPENSSL_NO_JPAKE wasjsing4-16/+2
removed from opensslconf.h, this would no longer compile.
2014-07-11Fix dumb copy/paste mistake.matthew1-3/+3
Noticed testing with clang.
2014-07-11Fix explicit_bzero regress for Solaris and OS X compatibilitymatthew1-27/+68
Solaris and OS X clobber the signal stack when returning to the main stack, which caused the original testing strategy (inspecting the signal stack once we're back on the main stack) to fail. To be compatible with this behavior, the regress test now inspects the signal stack space while we're still executing on it. This is a bit iffy because we might clobber it ourselves while inspecting it, but we as long as its not completely clobbered we should be okay. thx bcook for the Solaris test account
2014-07-10Explicitly include <openssl/opensslconf.h> in every file that referencesjsing394-550/+1462
an OPENSSL_NO_* define. This avoids relying on something else pulling it in for us, plus it fixes several cases where the #ifndef OPENSSL_NO_XYZ is never going to do anything, since OPENSSL_NO_XYZ will never defined, due to the fact that opensslconf.h has not been included. This also includes some miscellaneous sorting/tidying of headers.
2014-07-10OPENSSL_stderr() is unused so nuke it. OPENSSL_showfatal() is only used byjsing4-24/+6
OpenSSLDie(), which is in the same file, so just make it static. ok miod@
2014-07-10Use size_t as realloc() size argument whenever possible. ok tedu@miod4-12/+16
2014-07-10Simplify realloc() usage; ok tedu@miod2-30/+12
2014-07-10Upon realloc() failure, free() the original pointer and remove the stupidmiod2-6/+6
comments implying you don't have to. ok tedu@
2014-07-10KNFmiod2-52/+68
2014-07-10Fix a double free in a can't-fail error path in PKCS7_decrypt(), by removingmiod2-20/+12
the error path altogether and simplifying the local variables as a result. joint work with jsing@; ok jsing@ tedu@
2014-07-10remove unused variable from ssl3_get_client_hellobcook2-6/+4
ok tedu@ miod@
2014-07-10as noted by google/android via kettenis, atexit handlers can install newtedu1-1/+8
handlers. if this happens, restart the loop. ok kettenis matthew millert miod
2014-07-10Inline the only use of the HEX_SIZE macro and nuke both DECIMAL_SIZE andjsing4-14/+6
HEX_SIZE. ok beck@ miod@
2014-07-10Make sure srp_Calc_k() digest operations are checked for error; frommiod2-18/+34
Florian Zumbiehl (florz , florz . de) on tech@
2014-07-10Make sure SRP_Calc_client_key() returns NULL instead of a pristine BN_new()miod2-8/+18
upon error; from Florian Zumbiehl (florz , florz . de) on tech@
2014-07-10Nuke OPENSSL_NONPIC_relocated since nothing uses it.jsing4-8/+4
ok miod@
2014-07-10Kill a blatantly outdated (and now wrong) commentmiod2-8/+2
2014-07-10Fix examples description, and use less ambiguous wording.miod1-4/+4
2014-07-10Try and fix the horrible coding style of the example code snippets.miod19-398/+445
2014-07-10Stop including standard headers via cryptlib.h - pull in the headers thatjsing268-420/+906
are needed in the source files that actually require them. ok beck@ miod@
2014-07-10Remove empty sections and references to des_modes(7) which we don't have.miod67-218/+32
2014-07-10Fewer lies, also do not document DES_3cbc_encrypt anymore.miod2-44/+12
2014-07-10Features introduce in OpenSSL 0.9.8 do not deserve their own section.miod2-42/+38
Instead, fold their description in the main documentation, and update the history section to mention them as well.
2014-07-10Attempt to (incompletely) document EVP_aes_*().miod7-23/+30
When EVP_des_cbc() was suggested, suggest EVP_aes_256_cbc() instead. Remove mention of EVP_des_ede3_cbc() being the algorithm of choice for S/MIME. Don't mention US-export limited RC2 algorithms, you'd better not know about them.
2014-07-10RSA_setup_blinding() gets a BN with BN_CTX_get(), returns `out of memory'miod2-12/+2
if it fails, then never uses it anymore, and may invoke a function which needs more than one BN from the BN_CTX anyway, so this is pointless - remove the BN_CTX_get() call and the test. ok jsing
2014-07-10make asn1 free safe to call with null pointers of any type.tedu2-8/+6
ok jsing miod
2014-07-10One sure hopes that OPENSSL_cleanse will:jsing2-4/+4
/* Clear password from memory */
2014-07-10Remove #if 0 code which dumps your data to stdout.miod2-18/+2
2014-07-10Tweak some comments. We do not really need to know that "New!" flags werejsing2-18/+16
added 10+ years ago (they're kinda somewhat stale by now...)
2014-07-10Uncompress ssltest.jsing1-50/+0
2014-07-10Remove more compression tendrils.jsing6-28/+8
ok tedu@
2014-07-10Stop playing with the RSA_FLAG_BLINDING flag. It does nothing.jsing2-6/+2
ok miod@
2014-07-10delete some casts. ok miodtedu24-70/+70
2014-07-10Missing allocation checks and potential NULL pointer dereference in themiod2-14/+30
error path in PEM_X509_INFO_read_bio(); ok guenther@ jsing@
2014-07-10Remove RSA_FLAG_NO_EXP_CONSTTIME, which was deprecated 12+ years ago.jsing2-26/+2
sthen@ confirmed that no ports are referencing it. ok miod@.
2014-07-10Remove more compression related code.jsing6-40/+6
2014-07-10Remove DEBUG_KEYGEN and DEBUG_DECRYPT support.miod4-98/+4
2014-07-10replace getservbyname_r with getaddrinfo for portabilitybcook2-12/+22
ok jsing@
2014-07-10Tame the tedu... we still want to know that Compression and Expansion arejsing1-1/+5
NONE, even if this is due to the fact that we do not support compression.
2014-07-10Put back some parts of the public SSL API that should not have beenjsing6-8/+56
completely decompressed.
2014-07-10forgot to decompress here tootedu2-17/+2
2014-07-10Remove bogus preprocessor statements trying to pick the largest integermiod8-64/+8
type for BF_LONG, MD[45]_LONG and SHA_LONG. First, the preprocessor symbols they check for a 64-bit system is __ILP64__ which no sane system provides; second, on the platforms which have assembler code to speed things up, the assembler code assumes a 32-bit type will be used.
2014-07-10check return value of write.bcook1-4/+15
ok beck@ jsing@
2014-07-10crank major for decompression featuretedu2-2/+2
2014-07-10decompress libssl. ok beck jsingtedu49-1469/+77
2014-07-10KNF comments, reflowing and moving out of the middle of argument lists inguenther6-186/+300
places ok jsing@
2014-07-10remove unused ecc_pkey_size.bcook2-8/+4
ok jsing@ miod@