summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-07-04Remove mbuf low watermark vars. Unused since uipc_mbuf.c rev 1.244.Jonathan Gray
ok kn@ bluhm@
2023-07-04Add some extra parenthesis for consistency.Mark Kettenis
stolen from jsing@
2023-07-04Plug leak in the ssltestTheo Buehler
Removing -tls1 moved some tests from the legacy stack to the TLSv1.3 stack. On a HRR, the alpn callback would be called twice and allocate the global twice, thereby leaking. So free it up front. Joint suffering with bcook and beck
2023-07-04Factor the computation of ECDSA s into a functionTheo Buehler
ossl_ecdsa_sign_sig() is already complicated enough. The math bit is entirely self contained and does not need to obfuscate control flow and logic. with feedback from and ok jsing
2023-07-04document the recent addition of "Building from scratch" and what it means.Marc Espie
2023-07-04add support for unix domain sockets to ssh -WDavid Gwynne
ok djm@ dtucker@
2023-07-04m_reclaim() was removed in uipc_mbuf.c rev 1.195Jonathan Gray
2023-07-04a little knf, no functional changeDavid Gwynne
2023-07-04remove unused global varJonathan Gray
ok sashan@
2023-07-03record when pkg_add is actually doing something.Marc Espie
details of rc code to be set in stone later (currently as an option)
2023-07-03favor REGRESS_EXPECTED_FAILURESAnton Lindqvist
2023-07-03also make things 5.36 if not usedMarc Espie
2023-07-03Add support for marking lines with a shell prompt based on the OSC 133Nicholas Marriott
extension, from Munif Tanjim in GitHub issue 3596.
2023-07-03Enable mouse.tp.mtbuttons for apldcmsTobias Heider
ok bru@
2023-07-03use consistent queue(9) example for LIST removal; OK bluhm mvsKlemens Nanni
2023-07-03An empty string indicates there is no NXTNUM().Kenneth R Westerback
Fixes segfault in -e if you happen to delete everything after a partition line's ":".
2023-07-03sign_sig: drop ckinvTheo Buehler
The only reason ckinv exists is to be able to avoid a copy. This copy leaks some timing info, that will be mitigated in a subsequent step. It is an unused or at least uncommonly used codepath. ok jsing
2023-07-03Rework the logic in ECDSA sign_sig()Theo Buehler
If the caller supplied both kinv and r, we don't loop but rather throw an undocumented error code that no one uses, which is intended to tell the caller to run ECDSA_sign_setup() and try again. Use a boolean that indicates this situation so that the logic becomes a bit more transparent. ok jsing
2023-07-03add regress tests for the remainder of the function provided by our uuid.hJasper Lievisse Adriaanse
2023-07-03add a few tests related to --cflags and --libs in combination with ↵Jasper Lievisse Adriaanse
Requires.private. skipping one (currently failing) test which exhibits the behaviour described by humm@ljabl.com on bugs@
2023-07-03Use new ibuf API. Use ibuf_data() and ibuf_size() instead of directClaudio Jeker
struct access and use ibuf_set_n16() to update the length field. OK tb@
2023-07-03Delete some more references to dead policy code.Tobias Heider
Fixes -DNAMESPACE ok tb@
2023-07-03sign_sig: test on assignmentTheo Buehler
2023-07-03sign_setup: split another check into twoTheo Buehler
2023-07-03typoTobias Heider
2023-07-03Do not risk writing over the end of the buffer when it ends in #Nicholas Marriott
(because strchr \0 will be non-NULL), reported by Robert Morris in GitHub issue 3610.
2023-07-03Use ibuf_data() and ibuf_size() instead of accessing struct ibuf.Claudio Jeker
OK tb@
2023-07-03Split range checks for ECDSA r and ECDSA sTheo Buehler
requested by jsing
2023-07-03Switch a couple of test from ucmp to cmpTheo Buehler
This is confusing, as both sides involved should be unsigned. The ec code is undecided on whether the group order can be negative. It should never be, so lets see what happen with this slightly stricter check. discussed with jsing
2023-07-03ossl_ecdsa_verify_sig(): simplify range checksTheo Buehler
The checks whether r and s lie in the interval [1, order) were a bit uglier than necessary. Clean this up. ok beck jsing
2023-07-03List variables in a somewhat more sensible orderTheo Buehler
2023-07-03In ossl_ecdsa_verify_sig() use BN_CTX more idiomaticallyTheo Buehler
ok beck jsing
2023-07-03Split a bunch of unrelated checksTheo Buehler
ok beck jsing
2023-07-03Make ossl_ecdsa_verify_sig() single exitTheo Buehler
ok beck jsing
2023-07-03Switch ossl_ecdsa_verify() to timingsafe_memcmp()Theo Buehler
Requested by jsing
2023-07-03Streamline ossl_ecdsa_verify()Theo Buehler
Make it single exit and use API more idiomatically and some other cosmetics. ok beck jsing
2023-07-03Use ibuf_data() instead of direct access to ibuf->buf,Claudio Jeker
use ibuf_size() instead of direct access to ibuf->wpos, use ibuf_left() in places where the code checks if there is enough space left in the ibuf. OK tb@
2023-07-03Use ibuf_data() instead of directly accessing ibuf->buf.Claudio Jeker
OK tb@
2023-07-03Use ibuf_data() instead of accessing ibuf->buf directly.Claudio Jeker
OK tb@
2023-07-03Explicit parameter printing can also use get0_order()Theo Buehler
ok beck jsing
2023-07-03Convert ossl_ec_key_gen() and EC_KEY_check_key()Theo Buehler
These also get the EC_GROUP_get0_order() treatment ok beck jsing
2023-07-03Convert EC_GROUP_check() to EC_GROUP_get0_order()Theo Buehler
ok beck jsing
2023-07-03Inline two copies of EC_GROUP_order_bits()Theo Buehler
This code is way more complicated than it needs to be. Simplify. ec_bits() was particularly stupid. ok beck jsing
2023-07-03use semicolon not comma at eolJonathan Gray
ok stsp@
2023-07-03fix uuid_dec_{b,l}e prototypesJasper Lievisse Adriaanse
ok jmc@
2023-07-03some minor fix up;Jason McIntyre
2023-07-03Another warning fix for GCC from Thomas Klausner.Nicholas Marriott
2023-07-03when shutting down a vm, handle the VM id in the same way as a VM name argumentJasper Lievisse Adriaanse
ok dv@
2023-07-03Nuke unused label 'next:'.Kenneth R Westerback
2023-07-03Bring back no_tls1 and no_tls1_1 as undocumented silently discarded opitonsBob Beck
While I'm here, change the no_ssl2 and no_ssl3 options to use OPTION_DISCARD as well instead of continuing to set a no-op option flag. ok jsing@ tb@