CVS: cvs.openbsd.org: src

2018-02-12 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2018/02/12 07:25:17

Modified files:
regress/sbin/route: rttest1.ok rttest10.ok rttest11.ok 
rttest12.ok rttest15.ok rttest17.ok 
rttest18.ok rttest19.ok rttest2.ok 
rttest21.ok rttest22.ok rttest24.ok 
rttest26.ok rttest27.ok rttest3.ok 
rttest30.ok rttest31.ok rttest4.ok 
rttest5.ok rttest6.ok rttest7.ok rttest8.ok 
rttest9.ok 

Log message:
Fix most outputs now that lo5 is getting 127.0.0.1 automagically.



CVS: cvs.openbsd.org: src

2018-02-12 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2018/02/12 09:04:50

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

Log message:
Add missing RETURN VALUES section.
>From Paul Yang via OpenSSL commit 1f13ad31 Dec 25 17:50:39 2017 +0800
with one tweak.



CVS: cvs.openbsd.org: src

2018-02-12 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2018/02/12 08:29:28

Modified files:
regress/sbin/route: rttest14.ok rttest16.ok 

Log message:
Now that the default loopback interface is brough UP when rdomain 5
is created, it gets default IPv6 addresses.  So reflect that change
in netinet6 outputs.



CVS: cvs.openbsd.org: src

2018-02-12 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2018/02/12 08:36:40

Modified files:
regress/sbin/route: Makefile rttest14.ok rttest16.ok 

Log message:
Pass '-inet6' to the default loopback before each test.

In order to have reproducible tests route entries must not stay.  Otherwise
the 'Use' counter keeps growing.



CVS: cvs.openbsd.org: src

2018-02-12 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2018/02/12 08:48:58

Modified files:
regress/sbin/route: Makefile rttest30.ok rttest32.ok 

Log message:
Always destroy all interfaces before starting a new test.

This should make tests following a failing test pass.



CVS: cvs.openbsd.org: src

2018-02-12 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2018/02/12 08:45:12

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

Log message:
Add the missing RETURN VALUES section and reorder the content
accordingly.  Make some statements more precise, and point out
some dangerous traps in these ill-designed interfaces.
Also do some minor polishing while here.

Triggered by OpenSSL commit 1f13ad31 Dec 25 17:50:39 2017 +0800
by Paul Yang, but not using most of his wording because that is in
part redundant, in part incomplete, and in part outright wrong.



CVS: cvs.openbsd.org: src

2018-02-12 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2018/02/12 08:53:05

Modified files:
sys/netinet6   : ip6_input.c 

Log message:
Use IP6_SOIIKEY_LEN instead of hardcoded value.

from semarie@, ok benno@



CVS: cvs.openbsd.org: src

2018-02-12 Thread Martin Pieuchot
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2018/02/12 08:22:52

Modified files:
regress/sbin/route: rttest1.ok rttest10.ok rttest11.ok 
rttest12.ok rttest15.ok rttest17.ok 
rttest18.ok rttest19.ok rttest2.ok 
rttest21.ok rttest22.ok rttest24.ok 
rttest26.ok rttest27.ok rttest3.ok 
rttest30.ok rttest31.ok rttest32.ok 
rttest4.ok rttest5.ok rttest6.ok rttest7.ok 
rttest8.ok rttest9.ok 

Log message:
Revert previous, the changed has been backed out and I wasn't running
the last snaphot.



CVS: cvs.openbsd.org: src

2018-02-12 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2018/02/12 09:33:07

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

Log message:
Add the missing RETURN VALUES section;
from Paul Yang via OpenSSL commit 1f13ad31 Dec 25 17:50:39 2017 +0800.



CVS: cvs.openbsd.org: src

2018-02-12 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2018/02/12 09:57:32

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

Log message:
Add the missing RETURN VALUES section;
from Paul Yang via OpenSSL commit 1f13ad31 Dec 25 17:50:39 2017 +0800
with tweaks by me.



CVS: cvs.openbsd.org: src

2018-02-12 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2018/02/12 13:25:18

Modified files:
usr.sbin/pkg_add/OpenBSD: PackageRepository.pm 

Log message:
some mode of session resumptions are not currently supported by ftp(1)
be fair to those servers, display a more accurate message of what we know



CVS: cvs.openbsd.org: src

2018-02-12 Thread Damien Miller
CVSROOT:/cvs
Module name:src
Changes by: d...@cvs.openbsd.org2018/02/12 20:36:56

Modified files:
usr.bin/ssh: ssh.c cipher.c 

Log message:
remove space before tab



CVS: cvs.openbsd.org: src

2018-02-12 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2018/02/12 18:15:24

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

Log message:
Add the missing RETURN VALUES section.
Triggered by OpenSSL commit 1f13ad31 Dec 25 17:50:39 2017 +0800
by Paul Yang, but reworded for intelligibility and precision.

While here, also expand the description of the "ret" argument of
BIO_callback_fn().  That's a fairly complicated and alarmingly
powerful concept, but the description was so brief that is was
barely comprehensible.



CVS: cvs.openbsd.org: src

2018-02-12 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2018/02/12 18:34:34

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

Log message:
Delete duplicate .Nm entry in the NAME section,
from Rich Salz via OpenSSL commit 8162f6f5 Jun 9 17:02:59 2016 -0400.

Merging the RETURN VALUES section really wouldn't make much sense
here, it contains no additional information and i don't see any way
to reorganize the content and make it better.



CVS: cvs.openbsd.org: src

2018-02-12 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2018/02/12 18:59:16

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

Log message:
Mention that BN_new(3) sets the value to zero;
from Hubert Kario 
via OpenSSL commit 681acb31 Sep 29 13:10:34 2017 +0200.



CVS: cvs.openbsd.org: src

2018-02-12 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:src
Changes by: schwa...@cvs.openbsd.org2018/02/12 19:39:29

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

Log message:
Correctly describe BN_get_word(3) and BN_set_word(3).
These functions constitute an obvious portability nightmare,
but that's no excuse for incorrect documentation.

Pointed out by Nicolas Schodet
via OpenSSL commit b713c4ff Jan 22 14:41:09 2018 -0500.