diff options
| author | jsing <> | 2020-01-22 13:06:20 +0000 |
|---|---|---|
| committer | jsing <> | 2020-01-22 13:06:20 +0000 |
| commit | 76dfbaa908723012563f07eaa7816c71dbbaf48f (patch) | |
| tree | a73fb1a7a54c32ad89157d4d9099877fa83084a3 /src | |
| parent | 0cbed5dd4b0b9513a30c91de16249c64c9a9f67f (diff) | |
| download | openbsd-76dfbaa908723012563f07eaa7816c71dbbaf48f.tar.gz openbsd-76dfbaa908723012563f07eaa7816c71dbbaf48f.tar.bz2 openbsd-76dfbaa908723012563f07eaa7816c71dbbaf48f.zip | |
Fix things so that `make -DTLS1_3` works again.
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/ssl_locl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h index 897f92f848..7936378213 100644 --- a/src/lib/libssl/ssl_locl.h +++ b/src/lib/libssl/ssl_locl.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_locl.h,v 1.250 2020/01/22 08:24:25 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_locl.h,v 1.251 2020/01/22 13:06:20 jsing Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -186,7 +186,9 @@ __BEGIN_HIDDEN_DECLS | |||
| 186 | #define s2n(s,c) ((c[0]=(unsigned char)(((s)>> 8)&0xff), \ | 186 | #define s2n(s,c) ((c[0]=(unsigned char)(((s)>> 8)&0xff), \ |
| 187 | c[1]=(unsigned char)(((s) )&0xff)),c+=2) | 187 | c[1]=(unsigned char)(((s) )&0xff)),c+=2) |
| 188 | 188 | ||
| 189 | #ifndef LIBRESSL_HAS_TLS1_3_CLIENT | ||
| 189 | #define LIBRESSL_HAS_TLS1_3_CLIENT | 190 | #define LIBRESSL_HAS_TLS1_3_CLIENT |
| 191 | #endif | ||
| 190 | 192 | ||
| 191 | #if defined(LIBRESSL_HAS_TLS1_3_CLIENT) || defined(LIBRESSL_HAS_TLS1_3_SERVER) | 193 | #if defined(LIBRESSL_HAS_TLS1_3_CLIENT) || defined(LIBRESSL_HAS_TLS1_3_SERVER) |
| 192 | #define LIBRESSL_HAS_TLS1_3 | 194 | #define LIBRESSL_HAS_TLS1_3 |
