summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/ssl_lib.c')
-rw-r--r--src/lib/libssl/ssl_lib.c25
1 files changed, 24 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_lib.c b/src/lib/libssl/ssl_lib.c
index c184f75abe..3c62f39a57 100644
--- a/src/lib/libssl/ssl_lib.c
+++ b/src/lib/libssl/ssl_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_lib.c,v 1.230 2020/09/18 16:18:56 schwarze Exp $ */ 1/* $OpenBSD: ssl_lib.c,v 1.231 2020/09/19 10:05:00 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 *
@@ -1000,6 +1000,29 @@ SSL_write(SSL *s, const void *buf, int num)
1000 return ssl3_write(s, buf, num); 1000 return ssl3_write(s, buf, num);
1001} 1001}
1002 1002
1003uint32_t
1004SSL_CTX_get_max_early_data(const SSL_CTX *ctx)
1005{
1006 return 0;
1007}
1008
1009int
1010SSL_CTX_set_max_early_data(SSL_CTX *ctx, uint32_t max_early_data)
1011{
1012 return 1;
1013}
1014
1015uint32_t
1016SSL_get_max_early_data(const SSL *s)
1017{
1018 return 0;
1019}
1020
1021int
1022SSL_set_max_early_data(SSL *s, uint32_t max_early_data)
1023{
1024 return 1;
1025}
1003int 1026int
1004SSL_shutdown(SSL *s) 1027SSL_shutdown(SSL *s)
1005{ 1028{