diff options
Diffstat (limited to 'src/lib/libssl/ssl_sess.c')
-rw-r--r-- | src/lib/libssl/ssl_sess.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_sess.c b/src/lib/libssl/ssl_sess.c index 191e43b74b..d805419de4 100644 --- a/src/lib/libssl/ssl_sess.c +++ b/src/lib/libssl/ssl_sess.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_sess.c,v 1.99 2020/09/17 15:23:29 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_sess.c,v 1.100 2020/09/19 09:56:35 tb 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 | * |
@@ -194,6 +194,18 @@ SSL_SESSION_get_ex_data(const SSL_SESSION *s, int idx) | |||
194 | return (CRYPTO_get_ex_data(&s->internal->ex_data, idx)); | 194 | return (CRYPTO_get_ex_data(&s->internal->ex_data, idx)); |
195 | } | 195 | } |
196 | 196 | ||
197 | uint32_t | ||
198 | SSL_SESSION_get_max_early_data(const SSL_SESSION *s) | ||
199 | { | ||
200 | return 0; | ||
201 | } | ||
202 | |||
203 | int | ||
204 | SSL_SESSION_set_max_early_data(SSL_SESSION *s, uint32_t max_early_data) | ||
205 | { | ||
206 | return 1; | ||
207 | } | ||
208 | |||
197 | SSL_SESSION * | 209 | SSL_SESSION * |
198 | SSL_SESSION_new(void) | 210 | SSL_SESSION_new(void) |
199 | { | 211 | { |