diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-07-31 08:50:38 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-07-31 08:50:38 -0400 |
commit | 7e4ac0283ef9c089ebe4da8b85a5f6b5ec84a081 (patch) | |
tree | cc0454b9575283263a980ea128f0aa6188eb391f /src/tools | |
parent | 01c73711f1b91643ff12c82e539c1ef783fdfe8c (diff) | |
parent | 9118430b14dc20e0e2816d2dafe76714861b43b5 (diff) | |
download | tor-7e4ac0283ef9c089ebe4da8b85a5f6b5ec84a081.tar.gz tor-7e4ac0283ef9c089ebe4da8b85a5f6b5ec84a081.zip |
Merge remote-tracking branch 'teor/bug26986'
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/tor-print-ed-signing-cert.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tools/tor-print-ed-signing-cert.c b/src/tools/tor-print-ed-signing-cert.c index ca53e34d5d..0f64059d84 100644 --- a/src/tools/tor-print-ed-signing-cert.c +++ b/src/tools/tor-print-ed-signing-cert.c @@ -7,6 +7,7 @@ #include <time.h> #include "ed25519_cert.h" +#include "lib/cc/torint.h" /* TOR_PRIdSZ */ #include "lib/crypt_ops/crypto_format.h" #include "lib/malloc/malloc.h" @@ -49,8 +50,8 @@ main(int argc, char **argv) ssize_t parsed = ed25519_cert_parse(&cert, certbuf, cert_body_len); if (parsed <= 0) { - fprintf(stderr, "ed25519_cert_parse failed with return value %zd\n", - parsed); + fprintf(stderr, "ed25519_cert_parse failed with return value %" TOR_PRIdSZ + "\n", parsed); return -5; } |