summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libssl/tls13_internal.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/lib/libssl/tls13_internal.h b/src/lib/libssl/tls13_internal.h
index 4c3a328023..75e13ac15d 100644
--- a/src/lib/libssl/tls13_internal.h
+++ b/src/lib/libssl/tls13_internal.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls13_internal.h,v 1.96 2022/01/05 17:10:02 jsing Exp $ */ 1/* $OpenBSD: tls13_internal.h,v 1.97 2022/06/03 13:11:04 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2018 Bob Beck <beck@openbsd.org> 3 * Copyright (c) 2018 Bob Beck <beck@openbsd.org>
4 * Copyright (c) 2018 Theo Buehler <tb@openbsd.org> 4 * Copyright (c) 2018 Theo Buehler <tb@openbsd.org>
@@ -95,6 +95,17 @@ typedef void (*tls13_info_cb)(void *_cb_arg, int _state, int _ret);
95typedef int (*tls13_ocsp_status_cb)(void *_cb_arg); 95typedef int (*tls13_ocsp_status_cb)(void *_cb_arg);
96 96
97/* 97/*
98 * PSK support.
99 */
100
101/*
102 * Known PskKeyExchangeMode values.
103 * https://www.iana.org/assignments/tls-parameters/#tls-pskkeyexchangemode
104 */
105#define TLS13_PSK_KE 0
106#define TLS13_PSK_DHE_KE 1
107
108/*
98 * Secrets. 109 * Secrets.
99 */ 110 */
100struct tls13_secret { 111struct tls13_secret {