summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/getenv.c (unfollow)
Commit message (Collapse)AuthorFilesLines
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.
2014-07-09Better workaround for OS X sigaltstack() bugmatthew1-15/+20
OS X's sigaltstack() fails with ENOMEM if ss_size < MINSIGSTKSZ even if SS_DISABLE is specified in ss_flags. Rather than add code to try to cope with this stupidity, just don't bother restoring the original signal stack.
2014-07-09Update to match the current state of crypto/rand, and remove MLINKS formiod9-199/+31
RAND_event and RAND_screen.
2014-07-09Remove mention that the PRNG needs to be seeded before invoking somemiod28-73/+8
functions.
2014-07-09Unifdef -UPKCS_TESTVECT - we don't want the random data used in OAEP paddingmiod2-12/+2
to get overwritten by a known value, ever.
2014-07-09rephrase the stpcpy() warningnaddy1-2/+2
new wording agreed by at least kettenis@ millert@ otto@
2014-07-09{malloc,reallocarray} + memset(,0,) -> callocmiod4-14/+10
ok tedu@
2014-07-09Clean up after arc4random u_int32_t uint32_t changebeck1-5/+5
ok jsing@
2014-07-09changes to improve portabilitybcook1-10/+11
ok beck@ deraadt@ jsing@ guenther@
2014-07-09Replace memset(a, 0, ...); free(a); by explicit_bzero(a, ...); free(a); inmiod2-4/+4
fear a smartass-optimizing compiler decides memset is useless immediately before free(). ok jsing@ deraadt@ tedu@
2014-07-09Remove leading underscore from _BYTE_ORDER and _{LITTLE,BIG}_ENDIAN, to bemiod22-120/+120
more friendly to systems where the underscore flavours may be defined as empty. Found the hard way be bcook@; joint brainstrom with bcook beck and guenther
2014-07-09miod@ fixed the "bug" so remove reference to it in the man pod^Wpage.jsing2-10/+0
2014-07-09add <sys/filio.h> header for FIONBIObcook2-2/+4
ok beck@
2014-07-09check for EINTR when calling waitpid.bcook1-2/+13
ok jsing@
2014-07-09check if we were previously on a signal stack before restoring.bcook1-2/+3
OS X fails to restore the old signal stack because the signal stack is not enabled by default. This causes sigaltstack(2) to fail with ENOMEM as ss_size is 0, < MINSIGSTCKSZ. ok jsing@
2014-07-09Clean up and simplify SSL_CIPHER_description by always using asprintf. Ifjsing2-108/+108
a buffer was supplied then we copy the result into it. Also make the failure case return values match the documentation. Joint work with beck@
2014-07-09Simplify error path of DH_check_pub_key()miod2-16/+8