diff options
author | djm@openbsd.org <djm@openbsd.org> | 2019-07-16 13:18:39 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2019-07-16 23:23:05 +1000 |
commit | 16dd8b2c78a0de106c7429e2a294d203f6bda3c7 (patch) | |
tree | c1f6e71fe7aa7985f055b6a66926def4c876dcb7 /sshbuf.h | |
parent | 45478898f9590b5cc8bc7104e573b84be67443b0 (diff) |
upstream: remove mostly vestigal uuencode.[ch]; moving the only unique
functionality there (wrapping of base64-encoded data) to sshbuf functions;
feedback and ok markus@
OpenBSD-Commit-ID: 4dba6735d88c57232f6fccec8a08bdcfea44ac4c
Diffstat (limited to 'sshbuf.h')
-rw-r--r-- | sshbuf.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: sshbuf.h,v 1.15 2019/07/15 13:11:38 djm Exp $ */ | 1 | /* $OpenBSD: sshbuf.h,v 1.16 2019/07/16 13:18:39 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2011 Damien Miller | 3 | * Copyright (c) 2011 Damien Miller |
4 | * | 4 | * |
@@ -251,7 +251,8 @@ void sshbuf_dump_data(const void *s, size_t len, FILE *f); | |||
251 | char *sshbuf_dtob16(struct sshbuf *buf); | 251 | char *sshbuf_dtob16(struct sshbuf *buf); |
252 | 252 | ||
253 | /* Encode the contents of the buffer as base64 */ | 253 | /* Encode the contents of the buffer as base64 */ |
254 | char *sshbuf_dtob64(struct sshbuf *buf); | 254 | char *sshbuf_dtob64_string(const struct sshbuf *buf, int wrap); |
255 | int sshbuf_dtob64(const struct sshbuf *d, struct sshbuf *b64, int wrap); | ||
255 | 256 | ||
256 | /* Decode base64 data and append it to the buffer */ | 257 | /* Decode base64 data and append it to the buffer */ |
257 | int sshbuf_b64tod(struct sshbuf *buf, const char *b64); | 258 | int sshbuf_b64tod(struct sshbuf *buf, const char *b64); |