ugly hack around broken build until people wake up.
authorderaadt <deraadt@openbsd.org>
Mon, 14 Jun 2021 02:04:11 +0000 (02:04 +0000)
committerderaadt <deraadt@openbsd.org>
Mon, 14 Jun 2021 02:04:11 +0000 (02:04 +0000)
lib/libssl/tls1.h

index 771ed96..876557d 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls1.h,v 1.43 2021/06/13 15:47:11 jsing Exp $ */
+/* $OpenBSD: tls1.h,v 1.44 2021/06/14 02:04:11 deraadt Exp $ */
 /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
  * All rights reserved.
  *
@@ -195,7 +195,9 @@ extern "C" {
 #define TLS1_AD_EXPORT_RESTRICTION             60      /* fatal */
 #define TLS1_AD_PROTOCOL_VERSION               70      /* fatal */
 #define TLS1_AD_INSUFFICIENT_SECURITY          71      /* fatal */
+#endif
 #define TLS1_AD_INTERNAL_ERROR                 80      /* fatal */
+#ifndef LIBRESSL_INTERNAL
 /* Code 86 from RFC 7507. */
 #define TLS1_AD_INAPPROPRIATE_FALLBACK         86      /* fatal */
 #define TLS1_AD_USER_CANCELLED                 90