diff options
author | jsing <> | 2020-01-22 13:06:20 +0000 |
---|---|---|
committer | jsing <> | 2020-01-22 13:06:20 +0000 |
commit | e53889cb5c5ff4e8801ca99623f6e16491f94358 (patch) | |
tree | a73fb1a7a54c32ad89157d4d9099877fa83084a3 | |
parent | 46864e8e115245d4a8ed9cd263276063c800ab95 (diff) | |
download | openbsd-e53889cb5c5ff4e8801ca99623f6e16491f94358.tar.gz openbsd-e53889cb5c5ff4e8801ca99623f6e16491f94358.tar.bz2 openbsd-e53889cb5c5ff4e8801ca99623f6e16491f94358.zip |
Fix things so that `make -DTLS1_3` works again.
-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 |