diff options
author | Theo Buehler <tb@openbsd.org> | 2022-06-22 11:43:09 +0200 |
---|---|---|
committer | Theo Buehler <tb@openbsd.org> | 2022-06-22 11:43:09 +0200 |
commit | 9bd7894915812dd39d26788b1c4665707ff1c68b (patch) | |
tree | b82bf5a407c6eba96afbb6c6b130db0b631dc00f /patches | |
parent | fbe964e97b1ab8ac0f5293d98e1da2d1e6b23053 (diff) | |
download | portable-9bd7894915812dd39d26788b1c4665707ff1c68b.tar.gz portable-9bd7894915812dd39d26788b1c4665707ff1c68b.tar.bz2 portable-9bd7894915812dd39d26788b1c4665707ff1c68b.zip |
Update ssl_txt.c patch
Diffstat (limited to 'patches')
-rw-r--r-- | patches/ssl_txt.c.patch | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/patches/ssl_txt.c.patch b/patches/ssl_txt.c.patch index 6f3535f..7439b0d 100644 --- a/patches/ssl_txt.c.patch +++ b/patches/ssl_txt.c.patch | |||
@@ -1,5 +1,5 @@ | |||
1 | --- ssl/ssl_txt.orig Sun Jul 17 17:26:59 2016 | 1 | --- ssl/ssl_txt.c.orig Wed Jun 22 11:37:59 2022 |
2 | +++ ssl/ssl_txt.c Sun Jul 17 17:35:44 2016 | 2 | +++ ssl/ssl_txt.c Wed Jun 22 11:37:59 2022 |
3 | @@ -82,6 +82,7 @@ | 3 | @@ -82,6 +82,7 @@ |
4 | * OTHERWISE. | 4 | * OTHERWISE. |
5 | */ | 5 | */ |
@@ -8,12 +8,14 @@ | |||
8 | #include <stdio.h> | 8 | #include <stdio.h> |
9 | 9 | ||
10 | #include <openssl/buffer.h> | 10 | #include <openssl/buffer.h> |
11 | @@ -163,7 +164,7 @@ | 11 | @@ -174,8 +174,8 @@ |
12 | } | 12 | } |
13 | 13 | ||
14 | if (x->time != 0) { | 14 | if (x->time != 0) { |
15 | - if (BIO_printf(bp, "\n Start Time: %lld", (long long)x->time) <= 0) | 15 | - if (BIO_printf(bp, "\n Start Time: %lld", |
16 | + if (BIO_printf(bp, "\n Start Time: %"PRId64, (int64_t)x->time) <= 0) | 16 | - (long long)x->time) <= 0) |
17 | + if (BIO_printf(bp, "\n Start Time: %"PRId64, | ||
18 | + (int64_t)x->time) <= 0) | ||
17 | goto err; | 19 | goto err; |
18 | } | 20 | } |
19 | if (x->timeout != 0L) { | 21 | |