summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/ssl.h')
-rw-r--r--src/lib/libssl/ssl.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h
index 401c9cf843..b01c426c9c 100644
--- a/src/lib/libssl/ssl.h
+++ b/src/lib/libssl/ssl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl.h,v 1.174 2020/09/19 09:56:34 tb Exp $ */ 1/* $OpenBSD: ssl.h,v 1.175 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 *
@@ -1458,6 +1458,15 @@ int SSL_is_server(const SSL *s);
1458int SSL_read(SSL *ssl, void *buf, int num); 1458int SSL_read(SSL *ssl, void *buf, int num);
1459int SSL_peek(SSL *ssl, void *buf, int num); 1459int SSL_peek(SSL *ssl, void *buf, int num);
1460int SSL_write(SSL *ssl, const void *buf, int num); 1460int SSL_write(SSL *ssl, const void *buf, int num);
1461
1462#if defined(LIBRESSL_HAS_TLS1_3) || defined(LIBRESSL_INTERNAL)
1463uint32_t SSL_CTX_get_max_early_data(const SSL_CTX *ctx);
1464int SSL_CTX_set_max_early_data(SSL_CTX *ctx, uint32_t max_early_data);
1465
1466uint32_t SSL_get_max_early_data(const SSL *s);
1467int SSL_set_max_early_data(SSL *s, uint32_t max_early_data);
1468#endif
1469
1461long SSL_ctrl(SSL *ssl, int cmd, long larg, void *parg); 1470long SSL_ctrl(SSL *ssl, int cmd, long larg, void *parg);
1462long SSL_callback_ctrl(SSL *, int, void (*)(void)); 1471long SSL_callback_ctrl(SSL *, int, void (*)(void));
1463long SSL_CTX_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg); 1472long SSL_CTX_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg);