summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/reallocarray.c (unfollow)
Commit message (Collapse)AuthorFilesLines
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@
2014-07-10BN_free, BN_clear_free, BN_CTX_free, BN_BLINDING_free and BN_MONT_CTX_freejsing12-110/+64
all have implicit NULL checks, so we do not need them here. ok miod@
2014-07-10Use a while loop instead of an ifdowhile loop.jsing4-24/+20
ok miod@ tedu@
2014-07-09Add some extra sanity checks to make sure the test functions actuallymatthew1-1/+13
run on altstack.
2014-07-09include <limits.h> for LONG_MIN/LONG_MAX.bcook2-4/+4
Also remove <sys/filio.h> added from previous commit. This was the wrong way to get FIONBIO. ok jsing@
2014-07-09ASN1_STRING_free can handle NULL, so callers don't need to check. ok miodtedu10-54/+34
2014-07-09unfidef RL_DEBUG. hopefully it's been debugged by nowtedu2-50/+2
2014-07-09firebomb some MDEBUG leftoverstedu1-87/+1
2014-07-09unifdef a whole bunch of NO RSA/DSA/ECDH defines i deleted from libssltedu12-190/+12
2014-07-09clean up if 0/if 1 code. we don't care anymore.tedu2-119/+3
2014-07-09move a commenttedu1-3/+3
2014-07-09reset host, port, path to null after freeing so the caller doesn'ttedu2-2/+8
accidentally free them again. actually a bug in the caller and (hey hey) apps/ocsp.c has exactly that bug, but it's easier/safer to fix here.
2014-07-09stale prototypetedu2-4/+2
2014-07-09Make comments readable.jsing2-54/+66
2014-07-09More KNF.jsing38-644/+662
2014-07-09KNF.jsing4-246/+216
2014-07-09reduce obvious dependency on global g_pool by moving to local aliasestedu1-42/+48
ok otto
2014-07-09ocsp_check_ids says "If algoritm mismatch let caller deal with it" beforetedu2-12/+2
returning 2. The one and only caller doesn't check for that, so... Stop returning it. ok miod
2014-07-09Minor cleanupsmatthew1-5/+12
Rename _waitpid() to safewaitpid() to avoid POSIX reserved identifier namespace. KNF nit: return value expressions should be surrounded by parentheses, per style(9). Ensure SIGCHLD is set to SIG_DFL, not SIG_IGN. POSIX allows (and requires under XSI) that terminated child processes not leave zombies if SIGCHLD is set to SIG_IGN, and it also allows execve() to leave SIGCHLD set to SIG_IGN.