summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authorjsing <>2021-10-23 08:13:02 +0000
committerjsing <>2021-10-23 08:13:02 +0000
commit0b36022618e1b10350432bff13aba6c2b4eaef60 (patch)
tree613fd958468b739220f6320e5418b953a51698b8 /src/lib/libssl/ssl_locl.h
parentb2cf79a9312a9785e1fcdb77f637203de75b4f46 (diff)
downloadopenbsd-0b36022618e1b10350432bff13aba6c2b4eaef60.tar.gz
openbsd-0b36022618e1b10350432bff13aba6c2b4eaef60.tar.bz2
openbsd-0b36022618e1b10350432bff13aba6c2b4eaef60.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_locl.h')
-rw-r--r--src/lib/libssl/ssl_locl.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index f102c2fc95..6a6903d95b 100644
--- a/src/lib/libssl/ssl_locl.h
+++ b/src/lib/libssl/ssl_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_locl.h,v 1.359 2021/10/15 16:48:47 jsing Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.360 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 *
@@ -496,9 +496,9 @@ struct ssl_session_st {
496 char *tlsext_hostname; 496 char *tlsext_hostname;
497 497
498 /* RFC4507 info */ 498 /* RFC4507 info */
499 unsigned char *tlsext_tick; /* Session ticket */ 499 unsigned char *tlsext_tick; /* Session ticket */
500 size_t tlsext_ticklen; /* Session ticket length */ 500 size_t tlsext_ticklen; /* Session ticket length */
501 long tlsext_tick_lifetime_hint; /* Session lifetime hint in seconds */ 501 uint32_t tlsext_tick_lifetime_hint; /* Session lifetime hint in seconds */
502 502
503 struct ssl_session_internal_st *internal; 503 struct ssl_session_internal_st *internal;
504}; 504};