diff options
Diffstat (limited to 'src/lib/libssl/ssl.h')
-rw-r--r-- | src/lib/libssl/ssl.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h index 09d68beb0b..1a0403c72b 100644 --- a/src/lib/libssl/ssl.h +++ b/src/lib/libssl/ssl.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl.h,v 1.211 2021/10/23 11:41:51 beck Exp $ */ | 1 | /* $OpenBSD: ssl.h,v 1.212 2021/10/23 15:30:44 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 | * |
@@ -1289,6 +1289,11 @@ int SSL_is_server(const SSL *s); | |||
1289 | int SSL_read(SSL *ssl, void *buf, int num); | 1289 | int SSL_read(SSL *ssl, void *buf, int num); |
1290 | int SSL_peek(SSL *ssl, void *buf, int num); | 1290 | int SSL_peek(SSL *ssl, void *buf, int num); |
1291 | int SSL_write(SSL *ssl, const void *buf, int num); | 1291 | int SSL_write(SSL *ssl, const void *buf, int num); |
1292 | #if defined(LIBRESSL_NEW_API) | ||
1293 | int SSL_read_ex(SSL *ssl, void *buf, size_t num, size_t *bytes_read); | ||
1294 | int SSL_peek_ex(SSL *ssl, void *buf, size_t num, size_t *bytes_peeked); | ||
1295 | int SSL_write_ex(SSL *ssl, const void *buf, size_t num, size_t *bytes_written); | ||
1296 | #endif | ||
1292 | 1297 | ||
1293 | #if defined(LIBRESSL_HAS_TLS1_3) || defined(LIBRESSL_INTERNAL) | 1298 | #if defined(LIBRESSL_HAS_TLS1_3) || defined(LIBRESSL_INTERNAL) |
1294 | uint32_t SSL_CTX_get_max_early_data(const SSL_CTX *ctx); | 1299 | uint32_t SSL_CTX_get_max_early_data(const SSL_CTX *ctx); |