summaryrefslogtreecommitdiffstats
path: root/lib/libssl/tls13_internal.h
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2020-01-23 11:57:20 +0000
committerjsing <jsing@openbsd.org>2020-01-23 11:57:20 +0000
commit103617183d2cdbdbddcfa9e4483297df0e8100c5 (patch)
treecd6e8cddc4c0e0de04b2165e2b5f80c10e15f123 /lib/libssl/tls13_internal.h
parentCorrect several issues in the current TLSv1.3 server code. (diff)
downloadwireguard-openbsd-103617183d2cdbdbddcfa9e4483297df0e8100c5.tar.xz
wireguard-openbsd-103617183d2cdbdbddcfa9e4483297df0e8100c5.zip
Implement client hello processing in the TLSv1.3 server.
ok beck@
Diffstat (limited to 'lib/libssl/tls13_internal.h')
-rw-r--r--lib/libssl/tls13_internal.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/libssl/tls13_internal.h b/lib/libssl/tls13_internal.h
index f11d96f2ea2..e9f629f3873 100644
--- a/lib/libssl/tls13_internal.h
+++ b/lib/libssl/tls13_internal.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls13_internal.h,v 1.49 2020/01/23 07:30:55 beck Exp $ */
+/* $OpenBSD: tls13_internal.h,v 1.50 2020/01/23 11:57:20 jsing Exp $ */
/*
* Copyright (c) 2018 Bob Beck <beck@openbsd.org>
* Copyright (c) 2018 Theo Buehler <tb@openbsd.org>
@@ -38,9 +38,10 @@ __BEGIN_HIDDEN_DECLS
#define TLS13_IO_WANT_POLLOUT -4
#define TLS13_IO_USE_LEGACY -5
-#define TLS13_ERR_VERIFY_FAILED 16
-#define TLS13_ERR_HRR_FAILED 17
-#define TLS13_ERR_TRAILING_DATA 18
+#define TLS13_ERR_VERIFY_FAILED 16
+#define TLS13_ERR_HRR_FAILED 17
+#define TLS13_ERR_TRAILING_DATA 18
+#define TLS13_ERR_NO_SHARED_CIPHER 19
typedef void (*tls13_alert_cb)(uint8_t _alert_desc, void *_cb_arg);
typedef ssize_t (*tls13_phh_recv_cb)(void *_cb_arg, CBS *cbs);