summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_tlsext.h
diff options
context:
space:
mode:
authortb <>2022-06-03 13:29:39 +0000
committertb <>2022-06-03 13:29:39 +0000
commit7cb311c754f101f16354b2e8efc8f44a20dcdd22 (patch)
tree37b5a97caabdbfa08128864fc79129deb1cc06b4 /src/lib/libssl/ssl_tlsext.h
parent889db920b8d9b73a134d31667c5805b67a582f5c (diff)
downloadopenbsd-7cb311c754f101f16354b2e8efc8f44a20dcdd22.tar.gz
openbsd-7cb311c754f101f16354b2e8efc8f44a20dcdd22.tar.bz2
openbsd-7cb311c754f101f16354b2e8efc8f44a20dcdd22.zip
Implement handlers for the psk_key_exchange_modes extensions.
ok jsing
Diffstat (limited to 'src/lib/libssl/ssl_tlsext.h')
-rw-r--r--src/lib/libssl/ssl_tlsext.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_tlsext.h b/src/lib/libssl/ssl_tlsext.h
index b4c135fdf1..5f5a852abe 100644
--- a/src/lib/libssl/ssl_tlsext.h
+++ b/src/lib/libssl/ssl_tlsext.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_tlsext.h,v 1.27 2021/11/01 16:37:17 jsing Exp $ */ 1/* $OpenBSD: ssl_tlsext.h,v 1.28 2022/06/03 13:29:39 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2016, 2017 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2016, 2017 Joel Sing <jsing@openbsd.org>
4 * Copyright (c) 2017 Doug Hogan <doug@openbsd.org> 4 * Copyright (c) 2017 Doug Hogan <doug@openbsd.org>
@@ -119,6 +119,15 @@ int tlsext_cookie_server_needs(SSL *s, uint16_t msg_type);
119int tlsext_cookie_server_build(SSL *s, uint16_t msg_type, CBB *cbb); 119int tlsext_cookie_server_build(SSL *s, uint16_t msg_type, CBB *cbb);
120int tlsext_cookie_server_parse(SSL *s, uint16_t msg_type, CBS *cbs, int *alert); 120int tlsext_cookie_server_parse(SSL *s, uint16_t msg_type, CBS *cbs, int *alert);
121 121
122int tlsext_psk_kex_modes_client_needs(SSL *s, uint16_t msg_type);
123int tlsext_psk_kex_modes_client_build(SSL *s, uint16_t msg_type, CBB *cbb);
124int tlsext_psk_kex_modes_client_parse(SSL *s, uint16_t msg_type, CBS *cbs,
125 int *alert);
126int tlsext_psk_kex_modes_server_needs(SSL *s, uint16_t msg_type);
127int tlsext_psk_kex_modes_server_build(SSL *s, uint16_t msg_type, CBB *cbb);
128int tlsext_psk_kex_modes_server_parse(SSL *s, uint16_t msg_type, CBS *cbs,
129 int *alert);
130
122#ifndef OPENSSL_NO_SRTP 131#ifndef OPENSSL_NO_SRTP
123int tlsext_srtp_client_needs(SSL *s, uint16_t msg_type); 132int tlsext_srtp_client_needs(SSL *s, uint16_t msg_type);
124int tlsext_srtp_client_build(SSL *s, uint16_t msg_type, CBB *cbb); 133int tlsext_srtp_client_build(SSL *s, uint16_t msg_type, CBB *cbb);