CVS: cvs.openbsd.org: src

2021-08-27 Thread Inoguchi Kinichiro
CVSROOT:/cvs
Module name:src
Changes by: inogu...@cvs.openbsd.org2021/08/27 23:30:09

Modified files:
usr.bin/openssl: ca.c 

Log message:
Check X509_get_notAfter return value in openssl(1) ca.c



CVS: cvs.openbsd.org: src

2021-08-27 Thread Inoguchi Kinichiro
CVSROOT:/cvs
Module name:src
Changes by: inogu...@cvs.openbsd.org2021/08/27 23:14:30

Modified files:
usr.bin/openssl: ca.c 

Log message:
Use strndup instead of malloc, memcpy and NULL termination in openssl(1) ca.c

suggested from tb@ for do_updatedb(),
and applied the same for do_body() and do_revoke().



CVS: cvs.openbsd.org: src

2021-08-27 Thread Inoguchi Kinichiro
CVSROOT:/cvs
Module name:src
Changes by: inogu...@cvs.openbsd.org2021/08/27 22:02:21

Modified files:
usr.bin/openssl: ca.c 

Log message:
Remove ASN1_TIME_new and use NULL for X509_gmtime_adj, free tmptm in err path

comments from tb@



CVS: cvs.openbsd.org: src

2021-08-27 Thread Inoguchi Kinichiro
CVSROOT:/cvs
Module name:src
Changes by: inogu...@cvs.openbsd.org2021/08/27 20:40:17

Modified files:
usr.bin/openssl: ca.c 

Log message:
Unwrap lines in openssl(1) ca.c

suggested from tb@



CVS: cvs.openbsd.org: src

2021-08-27 Thread Inoguchi Kinichiro
CVSROOT:/cvs
Module name:src
Changes by: inogu...@cvs.openbsd.org2021/08/27 20:24:10

Modified files:
usr.bin/openssl: ca.c 

Log message:
Avoid leak with X509_REVOKED variable in openssl(1) ca.c

pointed out by tb@



CVS: cvs.openbsd.org: src

2021-08-27 Thread Inoguchi Kinichiro
CVSROOT:/cvs
Module name:src
Changes by: inogu...@cvs.openbsd.org2021/08/27 20:11:18

Modified files:
usr.bin/openssl: ca.c 

Log message:
Checking the return value in openssl(1) ca.c

Some functions are used without verifying the return value in openssl(1) ca.
This diff adds checking for the function return value.
With this diff, I changed return value of the write_new_certificate from void
to int to return the condition to the caller.

ok and comments from tb@



CVS: cvs.openbsd.org: src

2021-08-27 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2021/08/27 11:25:55

Modified files:
usr.bin/tmux   : arguments.c client.c cmd-bind-key.c 
 cmd-choose-tree.c cmd-command-prompt.c 
 cmd-display-menu.c cmd-new-session.c 
 cmd-new-window.c cmd-parse.y cmd-respawn-pane.c 
 cmd-respawn-window.c cmd-split-window.c cmd.c 
 key-bindings.c server-client.c tmux.h 

Log message:
Replace %% in command lists (by copying them) for template arguments ,
this means they can be used with {} as well. Also make argument
processing from an existing vector preserve commands. GitHub issue 2858.



CVS: cvs.openbsd.org: src

2021-08-27 Thread Nicholas Marriott
CVSROOT:/cvs
Module name:src
Changes by: n...@cvs.openbsd.org2021/08/27 11:15:57

Modified files:
usr.bin/tmux   : cmd-refresh-client.c cmd-resize-window.c 
 resize.c server-client.c tmux.1 tmux.h window.c 

Log message:
Allow control mode clients to set a hard limit on the window width and
height, GitHub issue 2594.



CVS: cvs.openbsd.org: src

2021-08-27 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2021/08/27 10:15:42

Modified files:
regress/lib/libcrypto/certs: README make-certs.sh 
regress/lib/libcrypto/x509: verify.c 
Added files:
regress/lib/libcrypto/certs/2c: bundle.pem roots.pem 

Log message:
Add regress test testing having the root cert in the intermediate bundle



CVS: cvs.openbsd.org: src

2021-08-27 Thread Bob Beck
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2021/08/27 10:13:23

src/regress/lib/libcrypto/certs/2c

Update of /cvs/src/regress/lib/libcrypto/certs/2c
In directory cvs.openbsd.org:/tmp/cvs-serv34733/2c

Log Message:
Directory /cvs/src/regress/lib/libcrypto/certs/2c added to the repository



CVS: cvs.openbsd.org: src

2021-08-27 Thread Theo Buehler
CVSROOT:/cvs
Module name:src
Changes by: t...@cvs.openbsd.org2021/08/27 10:12:33

Modified files:
lib/libcrypto/hkdf: hkdf.c 

Log message:
Remove unused #include .

This is from upstream where there is an assert() that EVP_MD_size(digest)
matches the length returned by HMAC(). We avoid asserts in our libraries.

>From Martin Vahlensieck



CVS: cvs.openbsd.org: www

2021-08-27 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:www
Changes by: schwa...@cvs.openbsd.org2021/08/27 06:15:30

Modified files:
.  : support.html 
build  : support.dat 

Log message:
update Duncan Hart's entry



CVS: cvs.openbsd.org: www

2021-08-27 Thread Ingo Schwarze
CVSROOT:/cvs
Module name:www
Changes by: schwa...@cvs.openbsd.org2021/08/27 06:10:11

Modified files:
build  : support.dat 

Log message:
sort Australia entries alphabetically by state and city; no content change



CVS: cvs.openbsd.org: src

2021-08-27 Thread Kenneth R Westerback
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2021/08/27 05:28:22

Modified files:
sbin/fdisk : part.c 

Log message:
Replace stray hand-rolled nitems() with nitems().