summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-05-04Remove trailing whitespace.Jim Razmus II
fine jmc@
2014-05-04Remove a leading whitespace.Jim Razmus II
ok jmc@
2014-05-04Add missing SEE ALSO section header.Jim Razmus II
ok jmc@
2014-05-04Improve line wrapping for lines exceeding 80 chars.Jim Razmus II
ok jmc@
2014-05-04Remove trailing whitespace.Jim Razmus II
ok jmc@
2014-05-04Factor out the code to set the expiry, renewal and rebinding times forKenneth R Westerback
a lease. Will be reused in upcoming diff. No intentional behaviour change.
2014-05-04delete useless test codeTheo de Raadt
2014-05-04Remove trailing whitespace.Jim Razmus II
no objection jmc@
2014-05-04format string fixes for bus_addr_t and bus_size_tStefan Fritsch
bus_addr_t and bus_size_t are u_long everywhere ok kettenis@
2014-05-04remove some hh and h format specifiersStefan Fritsch
gcc does not like hh in kprintf and it does not make any difference due to integer promotion rules. While there, remove some h's, too. suggested by kettenis@
2014-05-04i give up. reuse problem is unfixable. dlg says puppet crashes.Ted Unangst
2014-05-04format string fix for bus_space_tag_tStefan Fritsch
bus_space_tag_t is a pointer everywhere, except on i386, where it's an int. Cast to long. ok kettenis@ 'Right idiom' deraadt@
2014-05-04change type of handle var to u_int16_tStefan Fritsch
This fixes a format string warning. No change to the format string is necessary. suggested by kettenis@
2014-05-04Enable the assembler code for BN, which was lost quite some time ago.Miod Vallat
2014-05-04Remove the !SSLASM conditional. Either there is an arch-specific Makefile.inc,Miod Vallat
or the !SSLASM list of files applies. This allows for an arch-specific Makefile.inc to not specify SSLASM.
2014-04-13Import OpenSSL 1.0.1gMiod Vallat
2010-10-01import OpenSSL-1.0.0aDamien Miller
2008-09-06import of OpenSSL 0.9.8hDamien Miller
2005-04-29import of openssl-0.9.7g; tested on platforms from alpha to zaurus, ok deraadt@Damien Miller
2004-04-07import openssl-0.9.7dMarkus Friedl
2003-05-11import 0.9.7b (without idea and rc5)Markus Friedl
2014-05-04Create a new default RSA engine instead of patching the existing oneReyk Floeter
if none is available. Fixes SSL/TLS and a possible fatalx() on machines without a default RSA engine. Thanks to Bjorn Ketelaars for reporting and testing. ok gilles@ (for the relayd part)
2014-05-04Make use of usbd_xfer_isread() instead of rerolling it everywhere.Martin Pieuchot
This has the side effect of simplifying and reducing the differences between the various *hci_alloc_*_chain() functions since they are the principal place where we want to known if the transfer is a read or a write.
2014-05-04Get rid of EHCI_NULL. No functional change.Martin Pieuchot
2014-05-04Revert previous. Insufficient discussion. IntroducesKenneth R Westerback
inconsistancy between configured and unconfigured interfaces. Requested by deraadt@
2014-05-04Fix bogus error check; spotted by clang.Mark Kettenis
Submitted upstream by brad@ (and subsequently committed there). ok jca@, mikeb@, brad@
2014-05-04Make answering 'none' to the installer question "IPv6 address?" resultKenneth R Westerback
in no IPv6 address, by appending '-inet6' to the generated hostname.<if> file. Less surprising to many people. ok henning@ reyk@ beck@ rpe@
2014-05-04Remove the Z flag from the list of malloc options as itLoganaden Velvindron
was removed from malloc.c 10 days ago. OK from miod@
2014-05-04With the recent change by deraadt@ to introduce kern.nosuidcoredump=3,Reyk Floeter
we don't need the horrible debug hack anymore that disabled privdrop and chroot to get core dumps of privsep processes. No functional change for the normal binary, only if it is compiled with the non-default -DDEBUG option.
2014-05-04With the recent change by deraadt@ to introduce kern.nosuidcoredump=3,Reyk Floeter
we don't need the horrible debug hack anymore that disabled privdrop and chroot to get core dumps of privsep processes. No functional change for the normal binary, only if it is compiled with the non-default -DDEBUG option.
2014-05-04tweak previous;Jason McIntyre
2014-05-04Add PS_SYSTEM, the process-level mirror of the thread-level P_SYSTEM,Philip Guenther
and FORK_SYSTEM as a flag to set them. This eliminates needing to peek into other processes threads in various places. Inspired by NetBSD ok miod@ matthew@
2014-05-04When kern.nosuidcoredump=3, act like =2 but try to dump cores intoTheo de Raadt
the /var/crash/programname/ directory, as root. For instance, # mkdir /var/crash/bgpd/ # chmod 700 /var/crash/bgpd/ # If you skip this step, you are a moron # sysctl kern.nosuidcoredump=3 # bgpd # pkill -ABRT bgpd # ls /var/crash/bgpd/ 14764.core 23207.core 6423.core Of course, in real life the idea is that you don't kill the daemon but it crashes and you collect parallel cores. Careful you don't fill your /var. Further tuneables are being considered. Sorry to be picking on bgpd for this example. I've watched the "too difficult to debug privsep code" angst for far too long. ok guenther
2014-05-03If P_ZOMBIE(pr->ps_mainproc) is true, then (pr->ps_flags & PS_EXITING)Philip Guenther
is, so eliminate the check of the former and instead use the EINVAL error for the latter. Also, consistently check for PS_EXITING before check creds. suggestion to split this from another diff miod@
2014-05-03Fix whitespace fail in previous commitPhilip Guenther
2014-05-03Move the u-area allocation and pmap-magic logic to its own functionPhilip Guenther
uvm_uarea_alloc() function name from NetBSD; arm testing by miod@
2014-05-03Enable assembler code for AES, DES, GCM, SHA1, SHA256 and SHA512.Miod Vallat
The sparcv9 BN code is not enabled, as it expects to run on a 32-bit userland and will need to be fixed for 64-bit userland first.
2014-05-03Enable assembler code for AES, BN (Montgomery), GCM128, SHA1, SHA256 and SHA512.Miod Vallat
Note that GCM128 Neon code is currently not built (and thus not tested), as the current toolchain does not support Neon instructions.
2014-05-03Do not compile the neon probe code until __ARM_ARCH__ >= 7. Neon-specific codeMiod Vallat
will not get referenced if this condition is not met.
2014-05-03typosMiod Vallat
2014-05-03Add tests for with and without compression, with and without privsep.Darren Tucker
2014-05-03Correctly enable Montgomery code.Miod Vallat
2014-05-03unbreak compression, by re-init-ing the compression code in theMarkus Friedl
post-auth child. the new buffer code is more strict, and requires buffer_init() while the old code was happy after a bzero(); originally from djm@
2014-05-03now that 5.5 has been released with compatibility for 2b hashes,Ted Unangst
switch to generating them by default. prodded by deraadt and sthen
2014-05-03Update the base64 regress test and enable a test that would previouslyJoel Sing
have resulted in a segfault. Also update the resulting output bytes now that the invalid/corrupt input is detected and rejected; unless you're using BIO_FLAGS_BASE64_NO_NL, in which case you still get a stream of zero value bytes and no way of knowing that the data is invalid/corrupt.
2014-05-03Add checks for invalid base64 encoded data, specifically relating to theJoel Sing
handling of padding. This fixes a crash that can be triggered by feeding base64 data followed by 64 or more padding characters, which results in a negative output length. This issue was reported by David Ramos, although the same bug has been sitting in the OpenSSL RT since 2011: https://rt.openssl.org/Ticket/Display.html?id=2608 Worse still, BIO_read seems to be completely unable to detect that the base64 input was invalid/corrupt - in particular, enabling BIO_FLAGS_BASE64_NO_NL results in a stream of zero value bytes rather than no input (possibly a good replacement for /dev/null...), which could result in nasty consequences. Prior to this fix some zero value bytes were also injected without this flag being enabled. The recently added base64 regress triggers and documents these issues (and also ensures that this change retains functional behaviour).
2014-05-031. Drop support for no minor. This variant doesn't exist anymore.Ted Unangst
2. Pull up the actual minor processing code into the switch that parses it. 3. atoi is actually simpler than strtonum in this case, but check the input beforehand so we don't get unexpected results. 4. Slightly more consistent style between various parse and check and increment operations on salt. ok deraadt
2014-05-03It is definitly not the correct spelling.Joel Sing
2014-05-03KNF.Joel Sing
2014-05-03Annotate wide character routines so they get protected by Wbounded.Martynas Venckus
OK millert@