summaryrefslogtreecommitdiff
path: root/src/lib/libssl/tls13_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/tls13_internal.h')
-rw-r--r--src/lib/libssl/tls13_internal.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/src/lib/libssl/tls13_internal.h b/src/lib/libssl/tls13_internal.h
index d597ef5a96..d35610e179 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.77 2020/05/11 17:46:46 jsing Exp $ */ 1/* $OpenBSD: tls13_internal.h,v 1.78 2020/05/11 18:03:51 jsing 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>
@@ -27,17 +27,18 @@
27 27
28__BEGIN_HIDDEN_DECLS 28__BEGIN_HIDDEN_DECLS
29 29
30#define TLS13_HS_CLIENT 1 30#define TLS13_HS_CLIENT 1
31#define TLS13_HS_SERVER 2 31#define TLS13_HS_SERVER 2
32 32
33#define TLS13_IO_SUCCESS 1 33#define TLS13_IO_SUCCESS 1
34#define TLS13_IO_EOF 0 34#define TLS13_IO_EOF 0
35#define TLS13_IO_FAILURE -1 35#define TLS13_IO_FAILURE -1
36#define TLS13_IO_ALERT -2 36#define TLS13_IO_ALERT -2
37#define TLS13_IO_WANT_POLLIN -3 37#define TLS13_IO_WANT_POLLIN -3
38#define TLS13_IO_WANT_POLLOUT -4 38#define TLS13_IO_WANT_POLLOUT -4
39#define TLS13_IO_WANT_RETRY -5 /* Retry the previous call immediately. */ 39#define TLS13_IO_WANT_RETRY -5 /* Retry the previous call immediately. */
40#define TLS13_IO_USE_LEGACY -6 40#define TLS13_IO_USE_LEGACY -6
41#define TLS13_IO_RECORD_VERSION -7
41 42
42#define TLS13_ERR_VERIFY_FAILED 16 43#define TLS13_ERR_VERIFY_FAILED 16
43#define TLS13_ERR_HRR_FAILED 17 44#define TLS13_ERR_HRR_FAILED 17