summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_tlsext.h
diff options
context:
space:
mode:
authortb <>2022-06-03 13:31:49 +0000
committertb <>2022-06-03 13:31:49 +0000
commit2caafd751c9c4e121a80400e066e85dab685cc21 (patch)
treebdb7e020fb9de6303e716c3d7b5153aab90cff3f /src/lib/libssl/ssl_tlsext.h
parent7cb311c754f101f16354b2e8efc8f44a20dcdd22 (diff)
downloadopenbsd-2caafd751c9c4e121a80400e066e85dab685cc21.tar.gz
openbsd-2caafd751c9c4e121a80400e066e85dab685cc21.tar.bz2
openbsd-2caafd751c9c4e121a80400e066e85dab685cc21.zip
Add stubbed out handlers for the pre_shared_key extension
ok jsing
Diffstat (limited to 'src/lib/libssl/ssl_tlsext.h')
-rw-r--r--src/lib/libssl/ssl_tlsext.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_tlsext.h b/src/lib/libssl/ssl_tlsext.h
index 5f5a852abe..3439255fd6 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.28 2022/06/03 13:29:39 tb Exp $ */ 1/* $OpenBSD: ssl_tlsext.h,v 1.29 2022/06/03 13:31:49 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>
@@ -128,6 +128,13 @@ int 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, 128int tlsext_psk_kex_modes_server_parse(SSL *s, uint16_t msg_type, CBS *cbs,
129 int *alert); 129 int *alert);
130 130
131int tlsext_psk_client_needs(SSL *s, uint16_t msg_type);
132int tlsext_psk_client_build(SSL *s, uint16_t msg_type, CBB *cbb);
133int tlsext_psk_client_parse(SSL *s, uint16_t msg_type, CBS *cbs, int *alert);
134int tlsext_psk_server_needs(SSL *s, uint16_t msg_type);
135int tlsext_psk_server_build(SSL *s, uint16_t msg_type, CBB *cbb);
136int tlsext_psk_server_parse(SSL *s, uint16_t msg_type, CBS *cbs, int *alert);
137
131#ifndef OPENSSL_NO_SRTP 138#ifndef OPENSSL_NO_SRTP
132int tlsext_srtp_client_needs(SSL *s, uint16_t msg_type); 139int tlsext_srtp_client_needs(SSL *s, uint16_t msg_type);
133int tlsext_srtp_client_build(SSL *s, uint16_t msg_type, CBB *cbb); 140int tlsext_srtp_client_build(SSL *s, uint16_t msg_type, CBB *cbb);