diff options
author | tb <> | 2021-11-01 08:14:36 +0000 |
---|---|---|
committer | tb <> | 2021-11-01 08:14:36 +0000 |
commit | 9e4ccc5228dcbfa0dfefbcb77f4fbc4409e63949 (patch) | |
tree | 09eaa986df5bec5fc37f0dad91370c7d06c3f62e /src/lib/libssl | |
parent | 24b324d6b70a17a56bae163dd5417bf00331ec48 (diff) | |
download | openbsd-9e4ccc5228dcbfa0dfefbcb77f4fbc4409e63949.tar.gz openbsd-9e4ccc5228dcbfa0dfefbcb77f4fbc4409e63949.tar.bz2 openbsd-9e4ccc5228dcbfa0dfefbcb77f4fbc4409e63949.zip |
Unifdef LIBRESSL_NEW_API. Now that the library is bumped, this is
no longer needed.
ok jsing
Diffstat (limited to 'src/lib/libssl')
-rw-r--r-- | src/lib/libssl/ssl.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h index 258cde67e4..e313268216 100644 --- a/src/lib/libssl/ssl.h +++ b/src/lib/libssl/ssl.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl.h,v 1.214 2021/10/23 20:42:50 beck Exp $ */ | 1 | /* $OpenBSD: ssl.h,v 1.215 2021/11/01 08:14:36 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 | * |
@@ -506,7 +506,6 @@ void SSL_set_msg_callback(SSL *ssl, void (*cb)(int write_p, int version, | |||
506 | #define SSL_CTX_set_msg_callback_arg(ctx, arg) SSL_CTX_ctrl((ctx), SSL_CTRL_SET_MSG_CALLBACK_ARG, 0, (arg)) | 506 | #define SSL_CTX_set_msg_callback_arg(ctx, arg) SSL_CTX_ctrl((ctx), SSL_CTRL_SET_MSG_CALLBACK_ARG, 0, (arg)) |
507 | #define SSL_set_msg_callback_arg(ssl, arg) SSL_ctrl((ssl), SSL_CTRL_SET_MSG_CALLBACK_ARG, 0, (arg)) | 507 | #define SSL_set_msg_callback_arg(ssl, arg) SSL_ctrl((ssl), SSL_CTRL_SET_MSG_CALLBACK_ARG, 0, (arg)) |
508 | typedef void (*SSL_CTX_keylog_cb_func)(const SSL *ssl, const char *line); | 508 | typedef void (*SSL_CTX_keylog_cb_func)(const SSL *ssl, const char *line); |
509 | #if defined(LIBRESSL_NEW_API) | ||
510 | void SSL_CTX_set_keylog_callback(SSL_CTX *ctx, SSL_CTX_keylog_cb_func cb); | 509 | void SSL_CTX_set_keylog_callback(SSL_CTX *ctx, SSL_CTX_keylog_cb_func cb); |
511 | SSL_CTX_keylog_cb_func SSL_CTX_get_keylog_callback(const SSL_CTX *ctx); | 510 | SSL_CTX_keylog_cb_func SSL_CTX_get_keylog_callback(const SSL_CTX *ctx); |
512 | int SSL_set_num_tickets(SSL *s, size_t num_tickets); | 511 | int SSL_set_num_tickets(SSL *s, size_t num_tickets); |
@@ -514,7 +513,6 @@ size_t SSL_get_num_tickets(const SSL *s); | |||
514 | int SSL_CTX_set_num_tickets(SSL_CTX *ctx, size_t num_tickets); | 513 | int SSL_CTX_set_num_tickets(SSL_CTX *ctx, size_t num_tickets); |
515 | size_t SSL_CTX_get_num_tickets(const SSL_CTX *ctx); | 514 | size_t SSL_CTX_get_num_tickets(const SSL_CTX *ctx); |
516 | STACK_OF(X509) *SSL_get0_verified_chain(const SSL *s); | 515 | STACK_OF(X509) *SSL_get0_verified_chain(const SSL *s); |
517 | #endif | ||
518 | 516 | ||
519 | #ifndef LIBRESSL_INTERNAL | 517 | #ifndef LIBRESSL_INTERNAL |
520 | struct ssl_aead_ctx_st; | 518 | struct ssl_aead_ctx_st; |
@@ -1294,11 +1292,9 @@ int SSL_is_server(const SSL *s); | |||
1294 | int SSL_read(SSL *ssl, void *buf, int num); | 1292 | int SSL_read(SSL *ssl, void *buf, int num); |
1295 | int SSL_peek(SSL *ssl, void *buf, int num); | 1293 | int SSL_peek(SSL *ssl, void *buf, int num); |
1296 | int SSL_write(SSL *ssl, const void *buf, int num); | 1294 | int SSL_write(SSL *ssl, const void *buf, int num); |
1297 | #if defined(LIBRESSL_NEW_API) | ||
1298 | int SSL_read_ex(SSL *ssl, void *buf, size_t num, size_t *bytes_read); | 1295 | int SSL_read_ex(SSL *ssl, void *buf, size_t num, size_t *bytes_read); |
1299 | int SSL_peek_ex(SSL *ssl, void *buf, size_t num, size_t *bytes_peeked); | 1296 | int SSL_peek_ex(SSL *ssl, void *buf, size_t num, size_t *bytes_peeked); |
1300 | int SSL_write_ex(SSL *ssl, const void *buf, size_t num, size_t *bytes_written); | 1297 | int SSL_write_ex(SSL *ssl, const void *buf, size_t num, size_t *bytes_written); |
1301 | #endif | ||
1302 | 1298 | ||
1303 | #if defined(LIBRESSL_HAS_TLS1_3) || defined(LIBRESSL_INTERNAL) | 1299 | #if defined(LIBRESSL_HAS_TLS1_3) || defined(LIBRESSL_INTERNAL) |
1304 | uint32_t SSL_CTX_get_max_early_data(const SSL_CTX *ctx); | 1300 | uint32_t SSL_CTX_get_max_early_data(const SSL_CTX *ctx); |