Update ssl_txt.c patch

This commit is contained in:
Theo Buehler 2022-06-22 11:43:09 +02:00
parent fbe964e97b
commit 9bd7894915

View File

@ -1,5 +1,5 @@
--- ssl/ssl_txt.orig Sun Jul 17 17:26:59 2016
+++ ssl/ssl_txt.c Sun Jul 17 17:35:44 2016
--- ssl/ssl_txt.c.orig Wed Jun 22 11:37:59 2022
+++ ssl/ssl_txt.c Wed Jun 22 11:37:59 2022
@@ -82,6 +82,7 @@
* OTHERWISE.
*/
@ -8,12 +8,14 @@
#include <stdio.h>
#include <openssl/buffer.h>
@@ -163,7 +164,7 @@
@@ -174,8 +174,8 @@
}
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)
- 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) {