~graywolf/acme-client-portable

ecb8b5e9b5a4b64e9548332e532d71c97d63ba49 — Wolf 2 years ago 6e19cfb
Update from openbsd (2019-22-08 09:29:54 UTC)
3 files changed, 22 insertions(+), 22 deletions(-)

M CVS/Entries
M chngproc.c
M netproc.c
M CVS/Entries => CVS/Entries +18 -18
@@ 1,26 1,26 @@
/Makefile/1.9/Sat Jul 13 12:41:37 2019//
/acctproc.c/1.20/Sat Jul 13 12:41:37 2019//
/acme-client.1/1.32/Mon Jul  8 18:00:44 2019//
/acme-client.conf.5/1.21/Mon Jul  8 18:00:44 2019//
/base64.c/1.9/Sat Jul 13 12:41:37 2019//
/certproc.c/1.12/Sat Jul 13 12:41:37 2019//
/chngproc.c/1.14/Sat Jul 13 12:41:37 2019//
/dbg.c/1.4/Sat Jul 13 12:41:37 2019//
/dnsproc.c/1.9/Sat Jul 13 12:41:37 2019//
/extern.h/1.16/Sat Jul 13 12:41:37 2019//
/fileproc.c/1.16/Sat Jul 13 12:41:37 2019//
/http.c/1.28/Sat Jul 13 12:41:39 2019//
/http.h/1.8/Mon Jul  8 18:00:44 2019//
/jsmn.c/1.1/Mon Jul  8 18:00:44 2019//
/jsmn.h/1.1/Mon Jul  8 18:00:44 2019//
/json.c/1.14/Sat Jul 13 12:41:37 2019//
/key.c/1.2/Sat Jul 13 12:41:37 2019//
/key.h/1.1/Mon Jul  8 18:00:44 2019//
/keyproc.c/1.15/Sat Jul 13 12:41:37 2019//
/main.c/1.52/Sat Jul 13 12:41:37 2019//
/netproc.c/1.24/Sat Jul 13 12:41:37 2019//
/parse.h/1.13/Mon Jul  8 18:00:44 2019//
/parse.y/1.38/Sat Jul 13 12:41:37 2019//
/revokeproc.c/1.15/Sat Jul 13 12:41:37 2019//
/util.c/1.12/Sat Jul 13 12:41:37 2019//
/Makefile/1.9/Thu Aug 22 09:29:51 2019//
/acctproc.c/1.20/Thu Aug 22 09:29:51 2019//
/base64.c/1.9/Thu Aug 22 09:29:51 2019//
/certproc.c/1.12/Thu Aug 22 09:29:51 2019//
/chngproc.c/1.15/Thu Aug 22 09:29:53 2019//
/dbg.c/1.4/Thu Aug 22 09:29:51 2019//
/dnsproc.c/1.9/Thu Aug 22 09:29:51 2019//
/extern.h/1.16/Thu Aug 22 09:29:51 2019//
/fileproc.c/1.16/Thu Aug 22 09:29:51 2019//
/http.c/1.28/Thu Aug 22 09:29:51 2019//
/json.c/1.14/Thu Aug 22 09:29:51 2019//
/key.c/1.2/Thu Aug 22 09:29:51 2019//
/keyproc.c/1.15/Thu Aug 22 09:29:51 2019//
/main.c/1.52/Thu Aug 22 09:29:51 2019//
/netproc.c/1.25/Thu Aug 22 09:29:53 2019//
/parse.y/1.38/Thu Aug 22 09:29:51 2019//
/revokeproc.c/1.15/Thu Aug 22 09:29:51 2019//
/util.c/1.12/Thu Aug 22 09:29:51 2019//
D

M chngproc.c => chngproc.c +2 -2
@@ 1,4 1,4 @@
/*	$Id: chngproc.c,v 1.14 2019/06/16 19:49:13 florian Exp $ */
/*	$Id: chngproc.c,v 1.15 2019/08/12 18:01:44 benno Exp $ */
/*
 * Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv>
 *


@@ 104,7 104,7 @@ chngproc(int netsock, const char *root)
		 * Note: we use file descriptors instead of FILE
		 * because we want to minimise our pledges.
		 */
		fd = open(fs[fsz - 1], O_WRONLY|O_EXCL|O_CREAT, 0444);
		fd = open(fs[fsz - 1], O_WRONLY|O_CREAT|O_TRUNC, 0444);
		if (fd == -1) {
			warn("%s", fs[fsz - 1]);
			goto out;

M netproc.c => netproc.c +2 -2
@@ 1,4 1,4 @@
/*	$Id: netproc.c,v 1.24 2019/06/08 10:38:03 florian Exp $ */
/*	$Id: netproc.c,v 1.25 2019/08/11 19:44:25 florian Exp $ */
/*
 * Copyright (c) 2016 Kristaps Dzonsons <kristaps@bsd.lv>
 *


@@ 886,7 886,7 @@ out:
	free(c.kid);
	free(c.buf.buf);
	if (chngs != NULL)
		for (i = 0; i < altsz; i++)
		for (i = 0; i < order.authsz; i++)
			json_free_challenge(&chngs[i]);
	free(chngs);
	json_free_capaths(&paths);