CVS: cvs.openbsd.org: src

2019-04-04 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/04/04 23:13:12

Modified files:
lib/libssl : tls13_handshake.c 

Log message:
Zap two dead #defines that were unused since jsing deleted the
record_type member of the tls13_handshake_action struct.

ok jsing



CVS: cvs.openbsd.org: src

2019-04-04 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2019/04/04 18:59:24

Modified files:
usr.sbin/tcpdump: print-gre.c 

Log message:
print the gre protocol number as hex when vflag is enabled

this is useful for telling the MPLSes apart, and generally understanding
what you're seeing.



CVS: cvs.openbsd.org: src

2019-04-04 Thread David Gwynne
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2019/04/04 18:57:59

Modified files:
usr.sbin/tcpdump: interface.h print-cdp.c print-gre.c 
  print-llc.c print-ppp.c 

Log message:
support printing cdp over gre and ppp

ok deraadt@ mpi@ sthen@



CVS: cvs.openbsd.org: src

2019-04-04 Thread Edd Barrett
CVSROOT:/cvs
Module name:src
Changes by: e...@cvs.openbsd.org2019/04/04 16:20:28

Modified files:
sys/dev/acpi   : tpm.c 

Log message:
Make tpm(4) attach to MSFT0101 chips.

I found this chip in my Lenovo Thinkpad X1 (5th gen):
tpm0 at acpi0: TPM_ addr 0xfed4/0x5000: device 0x001b15d1 rev 0x10

"Yes, please commit this" deraadt@. Thanks.



CVS: cvs.openbsd.org: src

2019-04-04 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2019/04/04 15:29:27

Modified files:
regress/lib/libssl/handshake: Makefile 

Log message:
I forgot to mark some targets as .PHONY



CVS: cvs.openbsd.org: www

2019-04-04 Thread Remi Locherer
CVSROOT:/cvs
Module name:www
Changes by: r...@cvs.openbsd.org2019/04/04 15:26:37

Modified files:
.  : 65.html 

Log message:
Add some improvements for ospfd, ospf6d, ripd and bgpd.



CVS: cvs.openbsd.org: src

2019-04-04 Thread Remi Locherer
CVSROOT:/cvs
Module name:src
Changes by: r...@cvs.openbsd.org2019/04/04 13:57:08

Modified files:
usr.sbin/ospfd : rde_spf.c 

Log message:
RFC 2328 mandates in 12.4.1.1 that the Link ID of the Type 3 link has to
be set to the subnet's IP address and not the interface address.

Bug report and fix from Mitchell Krome.

OK claudio@



CVS: cvs.openbsd.org: src

2019-04-04 Thread Eric Faurot
CVSROOT:/cvs
Module name:src
Changes by: e...@cvs.openbsd.org2019/04/04 13:25:46

Modified files:
usr.sbin/lpd   : engine_lpr.c frontend_lpr.c proc.c resolver.c 

Log message:
accept the NULL string in the proc message formatting api and simplify
code accordingly.



CVS: cvs.openbsd.org: www

2019-04-04 Thread Darren Tucker
CVSROOT:/cvs
Module name:www
Changes by: dtuc...@cvs.openbsd.org 2019/04/04 13:21:45

Modified files:
openssh: goals.html 

Log message:
Update links to RSA, DSA and DH man pages.  Clarify language about what's
optional in ssh2.



CVS: cvs.openbsd.org: www

2019-04-04 Thread Kirill Bychkov
CVSROOT:/cvs
Module name:www
Changes by: ki...@cvs.openbsd.org   2019/04/04 12:14:59

Modified files:
.  : 65.html 

Log message:
update Ruby 2.4 version



CVS: cvs.openbsd.org: src

2019-04-04 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2019/04/04 10:53:57

Modified files:
lib/libssl : tls13_client.c tls13_handshake.c 
 tls13_internal.h 

Log message:
Implement legacy fallback for the TLS 1.3 client.

If the Server Hello received indicates that the server did not negotiate
TLS 1.3, fallback to the original TLS client implementation.

ok bcook@, tb@



CVS: cvs.openbsd.org: src

2019-04-04 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2019/04/04 10:44:24

Modified files:
lib/libssl : ssl_algs.c ssl_ciph.c ssl_locl.h 

Log message:
Clean up the cipher/digest table mess.

The original implementation allows for libcrypto to be compiled without a
given algorithm and libssl then detects that ciphers or digests are
unavailable so that it can disable the associated cipher suites.

This is unnecessary since we do not compile out algorithms.

ok beck@, tb@ (a while back)



CVS: cvs.openbsd.org: src

2019-04-04 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2019/04/04 09:47:15

Modified files:
regress/lib/libssl/unit: ssl_versions.c 

Log message:
Use correct define.



CVS: cvs.openbsd.org: src

2019-04-04 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2019/04/04 09:10:10

Modified files:
lib/libtls : tls_util.c 

Log message:
Only assign destlen when src is non-NULL.

This avoids ever having a non-zero len with a NULL pointer.



CVS: cvs.openbsd.org: src

2019-04-04 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2019/04/04 09:09:09

Modified files:
lib/libtls : tls_config.c 

Log message:
Switch to pthread_mutex_init().

While PTHREAD_MUTEX_INITIALIZER can be used on OpenBSD, some other
platforms do not like it.

Noted by bcook@



CVS: cvs.openbsd.org: src

2019-04-04 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2019/04/04 09:04:26

Modified files:
distrib/sets/lists/base: mi 

Log message:
Sync.



CVS: cvs.openbsd.org: src

2019-04-04 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2019/04/04 09:04:03

Modified files:
lib/libssl : shlib_version 
lib/libtls : shlib_version 

Log message:
Bump libssl/libtls minors due to symbol addition.



CVS: cvs.openbsd.org: src

2019-04-04 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2019/04/04 09:03:21

Modified files:
lib/libssl : Symbols.list s3_lib.c ssl.h 

Log message:
Provide SSL chain/cert chain APIs.

These allow for chains to be managed on a per-certificate basis rather than
as a single "extra certificates" list. Note that "chain" in this context
does not actually include the leaf certificate however, unlike
SSL_CTX_use_certificate_chain_{file,mem}().

Thanks to sthen@ for running this through a bulk ports build.

ok beck@ tb@



CVS: cvs.openbsd.org: src

2019-04-04 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2019/04/04 08:32:49

Modified files:
lib/libssl : ssl_sess.c 

Log message:
This case also needs to be fatal.



CVS: cvs.openbsd.org: src

2019-04-04 Thread Stuart Henderson
CVSROOT:/cvs
Module name:src
Changes by: st...@cvs.openbsd.org   2019/04/04 06:42:01

Modified files:
lib/libcrypto  : cert.pem 

Log message:
update root CAs in cert.pem in sync with Mozilla
ok millert@



CVS: cvs.openbsd.org: src

2019-04-04 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2019/04/04 06:03:09

Modified files:
regress/sbin/disklabel: Makefile 

Log message:
Add an update target to regenerate the expected results.
OK krw@



CVS: cvs.openbsd.org: src

2019-04-04 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2019/04/04 04:25:35

Modified files:
usr.bin/tmux   : layout-set.c layout.c 

Log message:
Fix size check for splitw -f and top level pane size for tiled layout,
problems reported by Thomas Sattler.



CVS: cvs.openbsd.org: src

2019-04-04 Thread Alexandre Ratchov
CVSROOT:/cvs
Module name:src
Changes by: ratc...@cvs.openbsd.org 2019/04/04 03:23:36

Modified files:
sys/dev/usb: uaudio.c 

Log message:
Simplify underruns handling: just copy silence produced by upper layer.

This makes the code less bug prone as the "rare" underruns
conditions are handled by the main non-underrun code.



CVS: cvs.openbsd.org: src

2019-04-04 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2019/04/04 01:10:05

Modified files:
sys/dev/acpi   : acpi.c 

Log message:
Avoid potential null-pointer dereference.  Found by Kent R. Spillner.

ok deraadt@, jsg@



CVS: cvs.openbsd.org: src

2019-04-04 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2019/04/04 00:58:56

Modified files:
share/man/man4 : bwfm.4 

Log message:
patrick confirms that this driver does not support powersave;



CVS: cvs.openbsd.org: src

2019-04-04 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2019/04/04 00:33:10

Modified files:
sys/dev/acpi   : tipmic.c 

Log message:
The ASUS E200HA reads the register at "address" 0x00 instead of 0x18.