summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2015-01-19 17:35:48 +0000
committerdjm <djm@openbsd.org>2015-01-19 17:35:48 +0000
commit3eb1d591574b6a331d00dcd20f6af1f1f44befba (patch)
tree7e94907450e6803abc16f3f2cfbcb01a09e52375
parentthis test was broken in at least two ways, such that it (diff)
downloadwireguard-openbsd-3eb1d591574b6a331d00dcd20f6af1f1f44befba.tar.xz
wireguard-openbsd-3eb1d591574b6a331d00dcd20f6af1f1f44befba.zip
fix format strings in (disabled) debugging
-rw-r--r--usr.bin/ssh/krl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/ssh/krl.c b/usr.bin/ssh/krl.c
index 4b49e0abf8b..c21c3bf3c3d 100644
--- a/usr.bin/ssh/krl.c
+++ b/usr.bin/ssh/krl.c
@@ -14,7 +14,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $OpenBSD: krl.c,v 1.27 2015/01/18 14:01:00 deraadt Exp $ */
+/* $OpenBSD: krl.c,v 1.28 2015/01/19 17:35:48 djm Exp $ */
#include <sys/types.h>
#include <sys/param.h>
@@ -734,7 +734,7 @@ ssh_krl_to_blob(struct ssh_krl *krl, struct sshbuf *buf,
/* Finally, output sections for revocations by public key/hash */
sshbuf_reset(sect);
RB_FOREACH(rb, revoked_blob_tree, &krl->revoked_keys) {
- KRL_DBG(("%s: key len %u ", __func__, rb->len));
+ KRL_DBG(("%s: key len %zu ", __func__, rb->len));
if ((r = sshbuf_put_string(sect, rb->blob, rb->len)) != 0)
goto out;
}
@@ -745,7 +745,7 @@ ssh_krl_to_blob(struct ssh_krl *krl, struct sshbuf *buf,
}
sshbuf_reset(sect);
RB_FOREACH(rb, revoked_blob_tree, &krl->revoked_sha1s) {
- KRL_DBG(("%s: hash len %u ", __func__, rb->len));
+ KRL_DBG(("%s: hash len %zu ", __func__, rb->len));
if ((r = sshbuf_put_string(sect, rb->blob, rb->len)) != 0)
goto out;
}
@@ -770,7 +770,7 @@ ssh_krl_to_blob(struct ssh_krl *krl, struct sshbuf *buf,
if ((r = sshkey_sign(sign_keys[i], &sblob, &slen,
sshbuf_ptr(buf), sshbuf_len(buf), 0)) == -1)
goto out;
- KRL_DBG(("%s: signature sig len %u", __func__, slen));
+ KRL_DBG(("%s: signature sig len %zu", __func__, slen));
if ((r = sshbuf_put_string(buf, sblob, slen)) != 0)
goto out;
}