diff options
| author | beck <> | 2021-10-23 16:29:15 +0000 |
|---|---|---|
| committer | beck <> | 2021-10-23 16:29:15 +0000 |
| commit | 272068e3e2ad0105e402f8f24df89c95eeeb92f9 (patch) | |
| tree | 38d02c3bf3e056c795b3de291d5640ccc31b6038 /src/lib/libssl/ssl_locl.h | |
| parent | bc5f5ccabc07ff4f9b740f57e6cac6847d1ab444 (diff) | |
| download | openbsd-272068e3e2ad0105e402f8f24df89c95eeeb92f9.tar.gz openbsd-272068e3e2ad0105e402f8f24df89c95eeeb92f9.tar.bz2 openbsd-272068e3e2ad0105e402f8f24df89c95eeeb92f9.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.h | 5 |
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 | ||
| 854 | struct ssl_ctx_st { | 855 | struct 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 | ||
| 1033 | struct ssl_st { | 1036 | struct ssl_st { |
