diff options
-rw-r--r-- | sshbuf-misc.c | 4 | ||||
-rw-r--r-- | sshbuf.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sshbuf-misc.c b/sshbuf-misc.c index 9b5aa208c..86e5fa34f 100644 --- a/sshbuf-misc.c +++ b/sshbuf-misc.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshbuf-misc.c,v 1.14 2020/02/26 13:40:09 jsg Exp $ */ | 1 | /* $OpenBSD: sshbuf-misc.c,v 1.15 2020/06/05 03:24:36 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2011 Damien Miller | 3 | * Copyright (c) 2011 Damien Miller |
4 | * | 4 | * |
@@ -63,7 +63,7 @@ sshbuf_dump_data(const void *s, size_t len, FILE *f) | |||
63 | } | 63 | } |
64 | 64 | ||
65 | void | 65 | void |
66 | sshbuf_dump(struct sshbuf *buf, FILE *f) | 66 | sshbuf_dump(const struct sshbuf *buf, FILE *f) |
67 | { | 67 | { |
68 | fprintf(f, "buffer %p len = %zu\n", buf, sshbuf_len(buf)); | 68 | fprintf(f, "buffer %p len = %zu\n", buf, sshbuf_len(buf)); |
69 | sshbuf_dump_data(sshbuf_ptr(buf), sshbuf_len(buf), f); | 69 | sshbuf_dump_data(sshbuf_ptr(buf), sshbuf_len(buf), f); |
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshbuf.h,v 1.21 2020/04/26 09:38:14 dtucker Exp $ */ | 1 | /* $OpenBSD: sshbuf.h,v 1.22 2020/06/05 03:24:36 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2011 Damien Miller | 3 | * Copyright (c) 2011 Damien Miller |
4 | * | 4 | * |
@@ -242,7 +242,7 @@ int sshbuf_put_eckey(struct sshbuf *buf, const EC_KEY *v); | |||
242 | #endif /* WITH_OPENSSL */ | 242 | #endif /* WITH_OPENSSL */ |
243 | 243 | ||
244 | /* Dump the contents of the buffer in a human-readable format */ | 244 | /* Dump the contents of the buffer in a human-readable format */ |
245 | void sshbuf_dump(struct sshbuf *buf, FILE *f); | 245 | void sshbuf_dump(const struct sshbuf *buf, FILE *f); |
246 | 246 | ||
247 | /* Dump specified memory in a human-readable format */ | 247 | /* Dump specified memory in a human-readable format */ |
248 | void sshbuf_dump_data(const void *s, size_t len, FILE *f); | 248 | void sshbuf_dump_data(const void *s, size_t len, FILE *f); |