summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-12-12Simplify x509.c slightly by using X509_get0_pubkey() instead ofTheo Buehler
X509_get_pubkey() ok inoguchi
2021-12-12Make x509.c compile with opaque EVP_PKEY.Theo Buehler
ok inoguchi
2021-12-12Use correct spelling of NULLTheo Buehler
ok inoguchi
2021-12-12Make ts.c compile with opaque EVP_MD_CTX.Theo Buehler
ok inoguchi
2021-12-12document the ub_* constantsIngo Schwarze
2021-12-12typoIngo Schwarze
2021-12-12New manual page providing a rudimentary description of BIO_new_NDEF(3).Ingo Schwarze
The API surrounding this is so complicated and streaming is so rarely used in practice that describing this in more detail is not a priority right now. The documentation of the wrapper BIO_new_CMS(3) is also rather vague, and BIO_new_PKCS7() isn't described at all so far.
2021-12-12Rewrite X509_ALGOR_set_md() without reaching into EVP_MD.Theo Buehler
ok inoguchi schwarze
2021-12-12Replace deprecated IO::Socket::INET6 with IO::Socket::IP.Alexander Bluhm
2021-12-12Use vnode parameter instead of vfinddev() in mfs_strategy()Visa Hankala
Getting the mfs device vnode through vfinddev() is more complex than necessary. Also, the indirection is not robust. OK mpi@
2021-12-12Add vnode parameter to VOP_STRATEGY()Visa Hankala
Pass the device vnode as a parameter to VOP_STRATEGY() to allow calling the correct vop_strategy callback. Now the vnode is also available in the callback. OK mpi@
2021-12-11Merge two bugfixes in ASN1_STRING_TABLE_add(3) and ASN1_STRING_TABLE_get(3)Ingo Schwarze
from the OpenSSL 1.1.1 branch, which is still under a free license, mostly this commit: commit d35c0ff30b31be9fd5dcf3d552a16feb8de464bc Author: Dr. Stephen Henson <steve@openssl.org> Date: Fri Oct 19 15:06:31 2012 +0000 fix ASN1_STRING_TABLE_add so it can override existing string table values This fixes a segfault in ASN1_STRING_TABLE_add(3), which tried to change a static const entry when called with an nid already in the default table, and it switches the precedence of the two tables in ASN1_STRING_TABLE_get(3). In addition, it changes behaviour in the following minor ways: * Ignore negative minsize and maxsize arguments, not just -1. * Ignore a zero mask and zero flags. It's unclear whether these additional changes make the API absolutely better, but we want compatibility with OpenSSL in these functions. Tweaks & OK tb@.
2013-01-03Reengineer the socket splicing regression tests:Alexander Bluhm
- Move the tests from splice to new sosplice directory for consistent naming. - Split the API tests and the TCP splicing tests into separate directories. - Create some tests for the upcoming UDP splicing. - Tests can be run in obj directories now. - The API tests can run both on a local and on a remote machine now. - Fix the forking TCP tests which splice and read or write simultaneously. - Bunch of little fixes for races in the tests. - Deduplicate code, move checks into common functions.
2021-12-11Merge the deletion of <ctype.h>, which isn't used here,Ingo Schwarze
and some style improvements from the OpenSSL 1.1.1 branch, which is still under a free license. No functional change. OK and additional tweaks tb@.
2021-12-11Change compatible string to something that makes more sense.Mark Kettenis
2021-12-11remove unused variable to fix build with llvm 13; ok jca@Christian Weisgerber
2021-12-11Start the default OpenBSD partition either immediately followingKenneth R Westerback
any boot partition specified via '-b' or /usr/mdec/mbr; at the power of 2 block after the first track; or immediately following the MBR if there is only one track. Mark any non-EFISYS boot partition created by -b as DOSACTIVE. Suggested by kettenis@, better than a separate new option. Brings -b behaviour into line with many uses of -e to create boot partitions, allowing for the eventual elimination of said -e uses in the creation of the various boot media and in the install scripts.
2021-12-11Add support for interrupts represented by ACPI PCI Interrupt Link Devices.Mark Kettenis
This makes PCI interrupts work on QEMU's SBSA target. ok patrick@
2021-12-11Thanks to the reverse engineering efforts by Hector Martin, we now knowMark Kettenis
that we can controll the CS# pin directly from the SPI controller itself. Add support for this as future device trees will probably use this mode instead of explicitly specifying a "cs-gpios" property. ok patrick@
2021-12-11Attach apldart(4) early.Mark Kettenis
2021-12-11document STABLE_NO_MASK and STABLE_FLAGS_MALLOC,Ingo Schwarze
mention which argument values can be used to not change the respective fields, and tweak a few additional wordings
2021-12-11two more "the the" fixes;Jason McIntyre
2021-12-11Protect the write access to the TDB flags field with a mutex perAlexander Bluhm
TDB. Clearing the timeout flags just before pool put in tdb_free() does not make sense. Move this to tdb_delete(). While there make the parentheses in the flag check consistent. tested by Hrvoje Popovski; OK tobhe@
2021-12-11doubled word; from Leon FischerTheo Buehler
2021-12-11Clarify usage of __EV_POLL and __EV_SELECTVisa Hankala
Make __EV_POLL specific to kqueue-based poll(2), to remove overlap with __EV_SELECT that only select(2) uses. OK millert@ mpi@
2021-12-11Stop passing __FILE__ and __LINE__ to various libcrypto functions. The argumentsAnton Lindqvist
are unused in the end anyway and occupies needless space, especially in ftp(1) shipped with the ramdisk. ok tb@
2021-12-10fix a copy-and-paste error;Ingo Schwarze
from Richard Ulmer <... rulmer at mailbox dot org>
2021-12-10explain how X509_NAME_ENTRY_set_data(3) uses MBSTRING_FLAGIngo Schwarze
2021-12-10document the following constants:Ingo Schwarze
B_ASN1_DIRECTORYSTRING, B_ASN1_PRINTABLE, B_ASN1_DISPLAYTEXT, B_ASN1_TIME, DIRSTRING_TYPE, PKCS9STRING_TYPE
2021-12-10Update the *.ok files to reflect the slightly largerKenneth R Westerback
last partition the latest fdisk allows. Spotted, fix tested and ok anton@
2021-12-10Missed unlinked control notifications, GitHub issue 2996.Nicholas Marriott
2021-12-10Mention XParseColor(3) for the cursor colour escape sequence.Nicholas Marriott
2021-12-10Add a NOBLOCK flag rather than adding amount to wait for whenNicholas Marriott
dealing with potentially-long sequences. GitHub issue 3001.
2021-12-10Revert "kbind(2): disable system call if not initialized beforePhilip Guenther
first __tfork(2)" The immediate issue is that a process linked with -znow will still perform lazy relocation on objects loaded with dlopen(), but there are possibly other dark corners to plumb to find a better invariant. Problem reported by thfr@
2021-12-10Move 'unconacc' test to regress/sys/kern/unixsockets/ directory.Vitaliy Makkoveev
2021-12-10Move 'undgram_conclose' test to regress/sys/kern/unixsockets directory.Vitaliy Makkoveev
2021-12-09Move 'unsendrecvthr' test to regress/sys/kern/unixsockets directory.Vitaliy Makkoveev
2021-12-09Move 'unfdpassfail' test to regress/sys/kern/unixsockets/ directory.Vitaliy Makkoveev
2021-12-09imrove the description of lesskey; based on a diff from richard ulmerJason McIntyre
ok deraadt schwarze
2021-12-09Make the clockpad work in "raw" mode.Mark Kettenis
ok patrick@
2021-12-09Broken ACPI tables containing scopes that are larger than their outer shellPatrick Wildt
are caught by our ACPI parser. Unfortunately in such cases our reaction was to start parsing AML somewhere outside our current scope. The intention was to clamp down the inner scope to the maximum of the outer one. So, rectify it. This issue has shown up in EDK2's QEMU SBSA target, where the SSDT table was generated incorrectly. Surprisingly neither Linux nor ACPICA's iASL noticed that the table was broken. ok kettenis@ millert@
2021-12-09Fix cpuid leaf clamping to let through cpuid(0x15) when we have anPhilip Guenther
invariant TSC and report that correctly in the guest's cpuid(0).eax prompted by debug messages in report from Josh Grosse (josh(at)jggimi.net) ok mlarkin@
2021-12-09document V_ASN1_SEQUENCE and V_ASN1_SETIngo Schwarze
2021-12-09document V_ASN1_BOOLEANIngo Schwarze
2021-12-09improve the documentation of V_ASN1_APP_CHOOSEIngo Schwarze
2021-12-09Mention V_ASN1_PRIMITIVE_TAG and V_ASN1_EOC.Ingo Schwarze
Seeing the symbolic names in addition to the magic numbers makes it esier to understand the text.
2021-12-09add the missing STANDARDS sectionIngo Schwarze
2021-12-09Document V_ASN1_ANY.Ingo Schwarze
While here, tweak some wordings a bit to make it less likely that readers confuse the type held by an ASN1_TYPE object with the type of the ASN1_TYPE object itself, which is always V_ASN1_ANY.
2021-12-09document V_ASN1_NEGIngo Schwarze
2021-12-09document V_ASN1_OBJECTIngo Schwarze