projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
WSAEVENT is a pointer, so we cannot simply return the different of two
[tinc]
/
src
/
ed25519
/
ecdsagen.c
diff --git
a/src/ed25519/ecdsagen.c
b/src/ed25519/ecdsagen.c
index
5120f28
..
9a1de1e
100644
(file)
--- a/
src/ed25519/ecdsagen.c
+++ b/
src/ed25519/ecdsagen.c
@@
-50,6
+50,7
@@
static bool write_pem(FILE *fp, const char *type, void *buf, size_t size) {
fprintf(fp, "-----BEGIN %s-----\n", type);
char base64[65];
+
while(size) {
size_t todo = size > 48 ? 48 : size;
b64encode(buf, base64, todo);