CVS: cvs.openbsd.org: src

2019-08-14 Thread Rob Pierce
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2019/08/14 17:17:08

Modified files:
regress/lib/libutil/ber: ber_test.c 

Log message:
Add test case for ber_scanf_elements.

Significant tweak by and ok martijn@



CVS: cvs.openbsd.org: src

2019-08-14 Thread Gilles Chehade
CVSROOT:/cvs
Module name:src
Changes by: gil...@cvs.openbsd.org  2019/08/14 15:11:25

Modified files:
usr.sbin/smtpd : envelope.c smtp_session.c to.c 

Log message:
revert the inet6 format diff, regression observed by florian@



CVS: cvs.openbsd.org: src

2019-08-14 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2019/08/14 15:02:02

Modified files:
sys/scsi   : scsiconf.c scsiconf.h 

Log message:
scsi_[add|remove]_link() are local functions so move their
declarations.



CVS: cvs.openbsd.org: src

2019-08-14 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2019/08/14 14:53:55

Modified files:
sys/scsi   : scsiconf.c 

Log message:
Whitespace nit. Add {} around body of SLIST_FOREACH().



CVS: cvs.openbsd.org: src

2019-08-14 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/08/14 14:30:19

Modified files:
distrib/syspatch: README 

Log message:
Explain how to take over syspatch builds from another machine.

ok ajacoutot robert



CVS: cvs.openbsd.org: src

2019-08-14 Thread Christian Weisgerber
CVSROOT:/cvs
Module name:src
Changes by: na...@cvs.openbsd.org   2019/08/14 13:32:41

Modified files:
distrib/miniroot: install.sub 

Log message:
Clean up clean_old():
* Remove syspatch files from the installed system and not the ramdisk.
* Directly try to remove the old files without superfluous check.
* Use an extended glob to match /usr/lib/gcc-lib contents that don't
belong to this OS version.
* For /usr/lib/clang, set an array to the expansion of the glob, which is
an alphabetically sorted list, drop the last element, and rm the rest.

ok tb@



CVS: cvs.openbsd.org: src

2019-08-14 Thread Martijn van Duren
CVSROOT:/cvs
Module name:src
Changes by: mart...@cvs.openbsd.org 2019/08/14 13:08:03

Modified files:
lib/libutil: ber_set_header.3 

Log message:
Fix argument list for ber_set_writecallback

OK claudio@



CVS: cvs.openbsd.org: src

2019-08-14 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/08/14 11:36:04

Modified files:
lib/libutil: ber_get_string.3 

Log message:
wonky comma;



CVS: cvs.openbsd.org: src

2019-08-14 Thread Martijn van Duren
CVSROOT:/cvs
Module name:src
Changes by: mart...@cvs.openbsd.org 2019/08/14 11:21:42

Modified files:
lib/libutil: ber_get_string.3 

Log message:
Document that ber_scanf_elements' 'p' and 't' attribute don't eat the
current ber element.

OK claudio@
Seems sensible to deraadt@



CVS: cvs.openbsd.org: src

2019-08-14 Thread Martijn van Duren
CVSROOT:/cvs
Module name:src
Changes by: mart...@cvs.openbsd.org 2019/08/14 11:20:41

Modified files:
lib/libutil: ber.c 

Log message:
Make ber_scanf_elements's 'e' attribute eat the element.
Right now all consumers use 'e' at the end of the list, so no regressions
should be introduced.

OK claudio@
Seems sensible to deraadt@



CVS: cvs.openbsd.org: src

2019-08-14 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2019/08/14 08:40:23

Modified files:
usr.bin/snmp   : snmp.1 snmpc.c 

Log message:
make usage() and SYNOPSIS more alike
discussed with martijn



CVS: cvs.openbsd.org: src

2019-08-14 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2019/08/14 08:05:32

Modified files:
lib/libcrypto/man: EVP_DigestInit.3 

Log message:
document EVP_Digest(3)



CVS: cvs.openbsd.org: www

2019-08-14 Thread T . J . Townsend
CVSROOT:/cvs
Module name:www
Changes by: t...@cvs.openbsd.org2019/08/14 07:07:46

Modified files:
faq: faq10.html faq15.html 

Log message:
-stable packages for amd64 and i386



CVS: cvs.openbsd.org: src

2019-08-14 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2019/08/14 06:56:21

Modified files:
sys/scsi   : scsiconf.c 

Log message:
Tweak some comments.



CVS: cvs.openbsd.org: src

2019-08-14 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2019/08/14 05:57:21

Modified files:
usr.sbin/bgpd  : rde.c rde.h rde_rib.c 

Log message:
Rework the way ribs are stored in the RDE. Instead of a flat array that
gets enlarged use an array of pointers, so pointers to struct rib entries
remain valid after adding new RIBs. Also remove the global ribs pointer
and rib_valid() since they are no longer used since all the code uses now
rib_byid() instead.
OK benno@



CVS: cvs.openbsd.org: src

2019-08-14 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2019/08/14 05:54:23

Modified files:
lib/libcrypto/man: CMS_add1_signer.3 

Log message:
some cleanup:
* avoid repetitions and jumping back and forth between the functions
* more precision regarding which ASN.1 types and fields are involved
* mark up the ASN.1 type and field names
* explain CMS_REUSE_DIGEST more precisely
* move the discussion of attributes to CMS_NOATTR where it belongs
* GOST does not need an ENGINE in LibreSSL, so don't use it as an example
* add the missing STANDARDS section
* and minor wording improvements



CVS: cvs.openbsd.org: src

2019-08-14 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2019/08/14 04:02:24

Modified files:
usr.bin/tmux   : window-copy.c 

Log message:
Default to previous search string for search-forward and
search-backward, from Leah Neukirchen.



CVS: cvs.openbsd.org: src

2019-08-14 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2019/08/14 03:59:44

Modified files:
usr.bin/tmux   : window-copy.c 

Log message:
Revert a change I did not mean to commit yet.



CVS: cvs.openbsd.org: src

2019-08-14 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2019/08/14 03:58:31

Modified files:
usr.bin/tmux   : cmd-rotate-window.c cmd-select-pane.c 
 cmd-swap-pane.c cmd-switch-client.c tmux.1 
 tmux.h window-copy.c window.c 

Log message:
Add -Z flag to rotate-window, select-pane, swap-pane, switch-client to
preserve zoomed state. GitHub issue 1839.



CVS: cvs.openbsd.org: src

2019-08-14 Thread Tobias Heider
CVSROOT:/cvs
Module name:src
Changes by: to...@cvs.openbsd.org   2019/08/14 02:35:46

Modified files:
sbin/iked  : iked.h ikev2.c ikev2_pld.c 

Log message:
Fix NAT traversal detection bug when "local" option is not explicitly
set.

ok patrick@



CVS: cvs.openbsd.org: src

2019-08-14 Thread ASOU Masato
CVSROOT:/cvs
Module name:src
Changes by: a...@cvs.openbsd.org2019/08/14 02:31:00

Modified files:
lib/libedit: readline.c 

Log message:
read() returns -1 on failure

ok yasuoka@



CVS: cvs.openbsd.org: src

2019-08-14 Thread Tobias Heider
CVSROOT:/cvs
Module name:src
Changes by: to...@cvs.openbsd.org   2019/08/14 02:03:42

Modified files:
regress/sbin/iked/parser: common.c 

Log message:
Add ikev2_ikesa_info dummy definition for parser test.



CVS: cvs.openbsd.org: src

2019-08-14 Thread Claudio Jeker
CVSROOT:/cvs
Module name:src
Changes by: clau...@cvs.openbsd.org 2019/08/14 01:39:04

Modified files:
usr.sbin/bgpd  : rde.c rde.h rde_rib.c 

Log message:
There is no longer a reason to use two structs for RIBs where one is part
of the other. Just merge struct rib_desc into struct rib. Makes code simpler.
OK benno@



CVS: cvs.openbsd.org: src

2019-08-14 Thread Anton Lindqvist
CVSROOT:/cvs
Module name:src
Changes by: an...@cvs.openbsd.org   2019/08/14 01:34:49

Modified files:
usr.sbin/vmctl : vmctl.c 
usr.sbin/vmd   : vmd.c vmd.h 

Log message:
Improve the error message when supplying an invalid template to vmctl
start. Favoring 'invalid template' over 'permission denied' should give
the user a better hint on what went wrong.

ok kn@ mlarkin@