From 3a193a58d4e1b69d76f3389c4990067ffb436c09 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Sun, 17 Jul 2016 17:37:16 -0500 Subject: [PATCH] format 64-bit int portably (windows wants %l64d) --- patches/ssl_txt.c.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 patches/ssl_txt.c.patch diff --git a/patches/ssl_txt.c.patch b/patches/ssl_txt.c.patch new file mode 100644 index 0000000..6f3535f --- /dev/null +++ b/patches/ssl_txt.c.patch @@ -0,0 +1,19 @@ +--- ssl/ssl_txt.orig Sun Jul 17 17:26:59 2016 ++++ ssl/ssl_txt.c Sun Jul 17 17:35:44 2016 +@@ -82,6 +82,7 @@ + * OTHERWISE. + */ + ++#include + #include + + #include +@@ -163,7 +164,7 @@ + } + + if (x->time != 0) { +- if (BIO_printf(bp, "\n Start Time: %lld", (long long)x->time) <= 0) ++ if (BIO_printf(bp, "\n Start Time: %"PRId64, (int64_t)x->time) <= 0) + goto err; + } + if (x->timeout != 0L) {