Index | Thread | Search

From:
Florian Obser <florian@openbsd.org>
Subject:
Re: acme-client: print account uri with -v
To:
tech@openbsd.org
Date:
Tue, 08 Oct 2024 07:42:02 +0200

Download raw body.

Thread
Shall we print the account key unconditionally on first create thusly?

diff --git netproc.c netproc.c
index 79dcadf3873..be8697bb591 100644
--- netproc.c
+++ netproc.c
@@ -19,6 +19,7 @@
 #include <ctype.h>
 #include <err.h>
 #include <errno.h>
+#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
@@ -386,7 +387,7 @@ donewacc(struct conn *c, const struct capaths *p, const char *contact)
 
 	if (c->kid != NULL) {
 		if (stravis(&accturi, c->kid, VIS_SAFE) != -1)
-			dodbg("account key: %s", accturi);
+			printf("account key: %s\n", accturi);
 		free(accturi);
 	}
 

-- 
In my defence, I have been left unsupervised.