summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authorbeck <>2021-10-23 16:29:15 +0000
committerbeck <>2021-10-23 16:29:15 +0000
commit55a62758cd15b69f401e838bf3be390599af37a5 (patch)
tree38d02c3bf3e056c795b3de291d5640ccc31b6038 /src/lib/libssl/ssl_locl.h
parent9dc0da1df478f56c0d7bda8d8baf60b103a8aa5c (diff)
downloadopenbsd-55a62758cd15b69f401e838bf3be390599af37a5.tar.gz
openbsd-55a62758cd15b69f401e838bf3be390599af37a5.tar.bz2
openbsd-55a62758cd15b69f401e838bf3be390599af37a5.zip
Add new OpenSSL API SSL_CTX_set_num_tickets and friends.
Since we don't support session tickets in LibreSSL at the moment these functions currently do not have any effect. Again, symbols will appear with tb@'s reptar sized bump.. ok tb@
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r--src/lib/libssl/ssl_locl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index ea1ee084a0..579899f464 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.364 2021/10/23 15:02:27 jsing Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.365 2021/10/23 16:29:15 beck 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 *
@@ -849,6 +849,7 @@ typedef struct ssl_ctx_internal_st {
849 size_t tlsext_supportedgroups_length; 849 size_t tlsext_supportedgroups_length;
850 uint16_t *tlsext_supportedgroups; /* our list */ 850 uint16_t *tlsext_supportedgroups; /* our list */
851 SSL_CTX_keylog_cb_func keylog_callback; /* Unused. For OpenSSL compatibility. */ 851 SSL_CTX_keylog_cb_func keylog_callback; /* Unused. For OpenSSL compatibility. */
852 size_t num_tickets; /* Unused, for OpenSSL compatibility */
852} SSL_CTX_INTERNAL; 853} SSL_CTX_INTERNAL;
853 854
854struct ssl_ctx_st { 855struct ssl_ctx_st {
@@ -1028,6 +1029,8 @@ typedef struct ssl_internal_st {
1028 int mac_packet; 1029 int mac_packet;
1029 1030
1030 int empty_record_count; 1031 int empty_record_count;
1032
1033 size_t num_tickets; /* Unused, for OpenSSL compatibility */
1031} SSL_INTERNAL; 1034} SSL_INTERNAL;
1032 1035
1033struct ssl_st { 1036struct ssl_st {