diff options
author | djm@openbsd.org <djm@openbsd.org> | 2020-06-05 03:24:36 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2020-06-05 13:28:29 +1000 |
commit | 69796297c812640415c6cea074ea61afc899cbaa (patch) | |
tree | 193e4b25199953c4ae2c8e22782b6161e65f3361 /sshbuf.h | |
parent | 670428895739d1f79894bdb2457891c3afa60a59 (diff) |
upstream: make sshbuf_dump() args const
OpenBSD-Commit-ID: b4a5accae750875d665b862504169769bcf663bd
Diffstat (limited to 'sshbuf.h')
-rw-r--r-- | sshbuf.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |