diff options
Diffstat (limited to 'sshbuf.h')
-rw-r--r-- | sshbuf.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshbuf.h,v 1.2 2014/06/10 21:46:11 dtucker Exp $ */ | 1 | /* $OpenBSD: sshbuf.h,v 1.3 2014/06/24 01:13:21 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2011 Damien Miller | 3 | * Copyright (c) 2011 Damien Miller |
4 | * | 4 | * |
@@ -216,9 +216,12 @@ int sshbuf_put_ec(struct sshbuf *buf, const EC_POINT *v, const EC_GROUP *g); | |||
216 | int sshbuf_put_eckey(struct sshbuf *buf, const EC_KEY *v); | 216 | int sshbuf_put_eckey(struct sshbuf *buf, const EC_KEY *v); |
217 | #endif | 217 | #endif |
218 | 218 | ||
219 | /* Dump the contents of the buffer to stderr in a human-readable format */ | 219 | /* Dump the contents of the buffer in a human-readable format */ |
220 | void sshbuf_dump(struct sshbuf *buf, FILE *f); | 220 | void sshbuf_dump(struct sshbuf *buf, FILE *f); |
221 | 221 | ||
222 | /* Dump specified memory in a human-readable format */ | ||
223 | void sshbuf_dump_data(const void *s, size_t len, FILE *f); | ||
224 | |||
222 | /* Return the hexadecimal representation of the contents of the buffer */ | 225 | /* Return the hexadecimal representation of the contents of the buffer */ |
223 | char *sshbuf_dtob16(struct sshbuf *buf); | 226 | char *sshbuf_dtob16(struct sshbuf *buf); |
224 | 227 | ||