diff options
| author | jsing <> | 2021-10-23 08:13:02 +0000 |
|---|---|---|
| committer | jsing <> | 2021-10-23 08:13:02 +0000 |
| commit | b3fca015c8bd2a8cca0e8855a02cc7c36dee9f12 (patch) | |
| tree | 613fd958468b739220f6320e5418b953a51698b8 /src/lib/libssl/ssl_txt.c | |
| parent | fd9abf2b9282607b47f83731e83829fede180937 (diff) | |
| download | openbsd-b3fca015c8bd2a8cca0e8855a02cc7c36dee9f12.tar.gz openbsd-b3fca015c8bd2a8cca0e8855a02cc7c36dee9f12.tar.bz2 openbsd-b3fca015c8bd2a8cca0e8855a02cc7c36dee9f12.zip | |
Change tlsext_tick_lifetime_hint to uint32_t.
Now that SSL_SESSION is opaque, change tlsext_tick_lifetime_hint from long
to uint32_t (matching RFC4507), rather than continuing to work around an
inappropriate type choice.
ok tb@
Diffstat (limited to 'src/lib/libssl/ssl_txt.c')
| -rw-r--r-- | src/lib/libssl/ssl_txt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/ssl_txt.c b/src/lib/libssl/ssl_txt.c index 4281cd279d..e06808ac80 100644 --- a/src/lib/libssl/ssl_txt.c +++ b/src/lib/libssl/ssl_txt.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_txt.c,v 1.29 2021/06/11 11:13:53 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_txt.c,v 1.30 2021/10/23 08:13:02 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -151,7 +151,7 @@ SSL_SESSION_print(BIO *bp, const SSL_SESSION *x) | |||
| 151 | } | 151 | } |
| 152 | if (x->tlsext_tick_lifetime_hint) { | 152 | if (x->tlsext_tick_lifetime_hint) { |
| 153 | if (BIO_printf(bp, | 153 | if (BIO_printf(bp, |
| 154 | "\n TLS session ticket lifetime hint: %ld (seconds)", | 154 | "\n TLS session ticket lifetime hint: %u (seconds)", |
| 155 | x->tlsext_tick_lifetime_hint) <= 0) | 155 | x->tlsext_tick_lifetime_hint) <= 0) |
| 156 | goto err; | 156 | goto err; |
| 157 | } | 157 | } |
