diff options
author | 2020-06-05 03:24:36 +0000 | |
---|---|---|
committer | 2020-06-05 03:24:36 +0000 | |
commit | 19d7d1041b20eca1dfe9a7e622a70d4917b0f871 (patch) | |
tree | 6d75bf68a51a07de6eed02215242f30c93d499d3 /usr.bin/ssh/sshbuf.h | |
parent | wrap long line (diff) | |
download | wireguard-openbsd-19d7d1041b20eca1dfe9a7e622a70d4917b0f871.tar.xz wireguard-openbsd-19d7d1041b20eca1dfe9a7e622a70d4917b0f871.zip |
make sshbuf_dump() args const
Diffstat (limited to 'usr.bin/ssh/sshbuf.h')
-rw-r--r-- | usr.bin/ssh/sshbuf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshbuf.h b/usr.bin/ssh/sshbuf.h index 3af1092a129..2d90a052efe 100644 --- a/usr.bin/ssh/sshbuf.h +++ b/usr.bin/ssh/sshbuf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sshbuf.h,v 1.21 2020/04/26 09:38:14 dtucker Exp $ */ +/* $OpenBSD: sshbuf.h,v 1.22 2020/06/05 03:24:36 djm Exp $ */ /* * Copyright (c) 2011 Damien Miller * @@ -243,7 +243,7 @@ int sshbuf_put_ec(struct sshbuf *buf, const EC_POINT *v, const EC_GROUP *g); int sshbuf_put_eckey(struct sshbuf *buf, const EC_KEY *v); /* Dump the contents of the buffer in a human-readable format */ -void sshbuf_dump(struct sshbuf *buf, FILE *f); +void sshbuf_dump(const struct sshbuf *buf, FILE *f); /* Dump specified memory in a human-readable format */ void sshbuf_dump_data(const void *s, size_t len, FILE *f); |