summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_locl.h
diff options
context:
space:
mode:
authorjsing <>2022-09-10 15:29:33 +0000
committerjsing <>2022-09-10 15:29:33 +0000
commit212aacd76080ec12b9b4f04d5c72dc835aad01dd (patch)
tree395bc1aafd1fc1c3d29d19b708320d8f8947325a /src/lib/libssl/ssl_locl.h
parent6ff688c7a2aa8f1ec524c72f0e010b60c8f12381 (diff)
downloadopenbsd-212aacd76080ec12b9b4f04d5c72dc835aad01dd.tar.gz
openbsd-212aacd76080ec12b9b4f04d5c72dc835aad01dd.tar.bz2
openbsd-212aacd76080ec12b9b4f04d5c72dc835aad01dd.zip
Provide a version of ssl_msg_callback() that takes a CBS.
Use this from the TLSv1.3 code. ok tb@
Diffstat (limited to 'src/lib/libssl/ssl_locl.h')
-rw-r--r--src/lib/libssl/ssl_locl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index fa3a5f9cfd..a6fc6eaa32 100644
--- a/src/lib/libssl/ssl_locl.h
+++ b/src/lib/libssl/ssl_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_locl.h,v 1.424 2022/08/21 19:39:44 jsing Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.425 2022/09/10 15:29:33 jsing 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 *
@@ -1290,6 +1290,7 @@ int ssl_clear_bad_session(SSL *s);
1290void ssl_info_callback(const SSL *s, int type, int value); 1290void ssl_info_callback(const SSL *s, int type, int value);
1291void ssl_msg_callback(SSL *s, int is_write, int content_type, 1291void ssl_msg_callback(SSL *s, int is_write, int content_type,
1292 const void *msg_buf, size_t msg_len); 1292 const void *msg_buf, size_t msg_len);
1293void ssl_msg_callback_cbs(SSL *s, int is_write, int content_type, CBS *cbs);
1293 1294
1294SSL_CERT *ssl_cert_new(void); 1295SSL_CERT *ssl_cert_new(void);
1295SSL_CERT *ssl_cert_dup(SSL_CERT *cert); 1296SSL_CERT *ssl_cert_dup(SSL_CERT *cert);