summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-09-11 17:38:59 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-09-11 17:38:59 +0000
commitf86445aadcd82c9bbb8a5401b8a656c8bb26fefd (patch)
treea25cf93f4c16b0e2943c9b3ae22dce937a9a461a
parentd1edc6af459cbd0e5b06e04178b7b1a477c9f5b1 (diff)
Expose some error codes needed for QUIC support
ok jsing
-rw-r--r--lib/libssl/ssl.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libssl/ssl.h b/lib/libssl/ssl.h
index caee3d60d9c..8195947a7e6 100644
--- a/lib/libssl/ssl.h
+++ b/lib/libssl/ssl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl.h,v 1.227 2022/08/21 19:42:15 jsing Exp $ */
+/* $OpenBSD: ssl.h,v 1.228 2022/09/11 17:38:58 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -836,11 +836,9 @@ int PEM_write_SSL_SESSION(FILE *fp, SSL_SESSION *x);
#define SSL_ERROR_ZERO_RETURN 6
#define SSL_ERROR_WANT_CONNECT 7
#define SSL_ERROR_WANT_ACCEPT 8
-#if defined(LIBRESSL_NEXT_API) || defined(LIBRESSL_INTERNAL)
#define SSL_ERROR_WANT_ASYNC 9
#define SSL_ERROR_WANT_ASYNC_JOB 10
#define SSL_ERROR_WANT_CLIENT_HELLO_CB 11
-#endif
#define SSL_CTRL_NEED_TMP_RSA 1
#define SSL_CTRL_SET_TMP_RSA 2