summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2014-07-09Remove RSA_memory_lock(). This undocumented function sort-of serializes yourMiod Vallat
RSA components to memory and clears them, but there is no unserializing function, so its usefulness is close to zero. A grep through the ports tree sources show that it is only present in ports embedding their own openssl copy, and never used otherwise. ok jsing@
2014-07-09remove unused dynamic_cmd_defns_empty structure.bcook
ok miod@ deraadt@ guenther@
2014-07-09RSA_NULL used to be a compile option allowing the RSA interfaces to beMiod Vallat
compiled-in, with nonfunctional code, to be able to cope with the RSA patent. However, we don't use this option, and the RSA patent has expired more than 10 years ago, so just drop this piece.
2014-07-09KNFMiod Vallat
2012-10-13import OpenSSL-1.0.1cDamien Miller
2009-04-06import of OpenSSL 0.9.8kDamien Miller
2014-07-08sys/user.h can now be substantially gutted.Theo de Raadt
ok guenther
2014-07-08Mark the weakened 40-bit export ciphers as invalid - no one in their rightJoel Sing
mind should be using them. ok deraadt@ miod@
2014-07-08Remove SSL_FIPS.Joel Sing
ok deraadt@ miod@
2014-07-08Nuke SSL_NOT_EXP since it does nothing.Joel Sing
ok deraadt@ miod@
2014-07-08Document SSL_CIPHER_description() will now use asprintf if passed a NULLMiod Vallat
buffer.
2014-07-08Do not suggest using BUF_strdup() preferably to strdup() for fallaciousMiod Vallat
reasons.
2014-07-08Match the current state of the code.Miod Vallat
2014-07-08decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.hTheo de Raadt
don't need to be married. ok guenther miod beck jsing kettenis
2014-07-08replace malloc(strlen())/strlcpy with strdupbcook
ok beck@ jsing@
2014-07-08Define SMALL_REGISTER_BANK on arm and vax, for it generates faster code forMiod Vallat
these systems (vax being 30% faster!). (surprisingly, the prime candidate for SMALL_REGISTER_BANK, SuperH, runs actually slower in that case)
2014-07-08Remove undocumented _des_crypt() interface and its companion header file,Miod Vallat
which had never been installed, so it's unlikely something ever used this in the last 15~20 years. ok deraadt@ jsing@ beck@
2014-07-08pedantic avoidance of division by zero, likely not actuallyBob Beck
possible to hit for real. ok miod@ jsing@
2014-07-08add missing stdint. include for uint32_t, etc.bcook
ok beck@ jsing@
2014-07-08We do not care about broken Borland C pre-processors.Joel Sing
ok beck@ deraadt@
2014-07-08Pretty much everything has SO_REUSEADDR - nuke the #ifdefs.Joel Sing
ok beck@
2014-07-08We have EAI_FAMILY - remove the #ifdefs.Joel Sing
ok beck@
2014-07-08getentropy for osx and solaris. will be needed for a portable releaseBob Beck
2014-07-08More KNF.Joel Sing
2014-07-08Avoid locking in BIO_get_port() by using getservbyname_r() instead ofJoel Sing
getservbyname(). While here, provide a common/single return path. ok deraadt@
2014-07-08fix oops, accidental delete.. darn copying of files between machinesBob Beck
2014-07-08j should be an int, like repeatBob Beck
2014-07-08KNF.Joel Sing
2014-07-08KNF.Joel Sing
2014-07-08unbreak last commit - but same intent, make re-seed less expensiveBob Beck
2014-07-08More KNF.Joel Sing
2014-07-08Simplify various BIO_sock_* fuctions - less code, better variable names,Joel Sing
correct types and fewer casts. ok deraadt@ miod@
2014-07-08repeat calls to getentrypy() with the same pid likely indicate reseeds.Theo de Raadt
Since we assume the PRNG above is doing "something old, something new" folding, shortcut and do fewer repeats through the timing loop. ok beck
2014-07-08Document that shm_open() et al have been available since OpenBSD 5.4Matthew Dempsky
2014-07-04Track whether a process is a zombie or not yet fully built via flagsPhilip Guenther
PS_{ZOMBIE,EMBRYO} on the process instead of peeking into the process's thread data. This eliminates the need for the thread-level SDEAD state. Change kvm_getprocs() (both the sysctl() and kvm backends) to report the "most active" scheduler state for the process's threads. tweaks kettenis@ feedback and ok matthew@
2014-07-03Memory-leak-in-error-path of the day in X509_ATTRIBUTE_set1_data().Miod Vallat
ok logan@ beck@
2014-07-03rework some fflush text, as requestedJason McIntyre
From: Edward tweaks From: Tim van der Molen
2014-07-02Various small typographic fixes for mman.h manual pages:Matthew Dempsky
Use .Fn instead of .Nm as appropriate Use .In for include lines Use .Rv -std where possible Use .Xr to refer to functions from other manual pages Remove extraneous sys/types.h include More substantive changes to follow. Discussed with schwarze
2014-07-02Memory leak in error path of the day, from clang via dhill@bitrig;Miod Vallat
ok dhill@bitrig
2014-07-02Sync description of PROT_* flags between mmap.2 and mprotect.2Matthew Dempsky
ok guenther
2014-07-02pk7_doit.c r1.20 introduced a NULL check that ensures that the signatureJoel Sing
contents are not NULL, however this breaks detached signature processing. Fix this by allowing the signature contents to be NULL when operating with a detached signature. Found the hard way by sthen@. ok sthen@
2014-07-02Remove more unused cruft.Joel Sing
No objection from the usual suspects.
2014-07-02KNF.Joel Sing
2014-07-01Avoid a NULL deref in i2d_ECPrivateKey() when an EC_KEY lacks the public keyMiod Vallat
member (which is perfectly acceptable). From BoringSSL (Adam Langley), commit f71a27920a903c9c36bcb31e68781b17674d3fd2
2014-07-01Use a flag on the pthread_t to indicate that the thread's stack wasPhilip Guenther
allocated by the kernel's execve bits. ok matthew@
2014-06-30simplify and unobfuscate a variable to fix a mem leak.Ted Unangst
original diff by logan
2014-06-30fix the identical leak in three different files.Ted Unangst
reported by Brent Cook, original diff by logan
2014-06-30sys/types.h rather than sys/param.h, where applicable. avoid overreach.Theo de Raadt
2014-06-30sort includes much more sensiblyTheo de Raadt
2014-06-30limits.h rather than sys/param.hTheo de Raadt