diff options
| author | jsing <> | 2021-05-16 14:10:43 +0000 |
|---|---|---|
| committer | jsing <> | 2021-05-16 14:10:43 +0000 |
| commit | 1092b11f3cc2b89ff8b43d1ab3d0ceda6218da96 (patch) | |
| tree | 8bdf19b574c605a50b142d3dbfbfb0ab0d7c8530 /src/lib/libssl | |
| parent | 6549a63a42afd133dad2229ed5e3a15f9cff92f3 (diff) | |
| download | openbsd-1092b11f3cc2b89ff8b43d1ab3d0ceda6218da96.tar.gz openbsd-1092b11f3cc2b89ff8b43d1ab3d0ceda6218da96.tar.bz2 openbsd-1092b11f3cc2b89ff8b43d1ab3d0ceda6218da96.zip | |
Make local header inclusion consistent.
Consistently include local headers in the same location, using the same
grouping/sorting across all files.
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libssl/d1_both.c | 5 | ||||
| -rw-r--r-- | src/lib/libssl/s3_cbc.c | 6 | ||||
| -rw-r--r-- | src/lib/libssl/ssl_asn1.c | 5 | ||||
| -rw-r--r-- | src/lib/libssl/ssl_clnt.c | 5 | ||||
| -rw-r--r-- | src/lib/libssl/ssl_lib.c | 5 | ||||
| -rw-r--r-- | src/lib/libssl/ssl_packet.c | 5 | ||||
| -rw-r--r-- | src/lib/libssl/ssl_pkt.c | 5 | ||||
| -rw-r--r-- | src/lib/libssl/ssl_rsa.c | 6 | ||||
| -rw-r--r-- | src/lib/libssl/ssl_srvr.c | 5 | ||||
| -rw-r--r-- | src/lib/libssl/ssl_tlsext.c | 5 | ||||
| -rw-r--r-- | src/lib/libssl/ssl_transcript.c | 6 | ||||
| -rw-r--r-- | src/lib/libssl/t1_enc.c | 5 | ||||
| -rw-r--r-- | src/lib/libssl/t1_lib.c | 5 | ||||
| -rw-r--r-- | src/lib/libssl/tls13_buffer.c | 5 | ||||
| -rw-r--r-- | src/lib/libssl/tls13_client.c | 5 | ||||
| -rw-r--r-- | src/lib/libssl/tls13_record.c | 3 | ||||
| -rw-r--r-- | src/lib/libssl/tls13_record_layer.c | 3 | ||||
| -rw-r--r-- | src/lib/libssl/tls13_server.c | 3 |
18 files changed, 36 insertions, 51 deletions
diff --git a/src/lib/libssl/d1_both.c b/src/lib/libssl/d1_both.c index 22bd3cec2a..9b06d37947 100644 --- a/src/lib/libssl/d1_both.c +++ b/src/lib/libssl/d1_both.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: d1_both.c,v 1.71 2021/05/16 13:56:30 jsing Exp $ */ | 1 | /* $OpenBSD: d1_both.c,v 1.72 2021/05/16 14:10:43 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
| 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
| @@ -117,8 +117,6 @@ | |||
| 117 | #include <stdio.h> | 117 | #include <stdio.h> |
| 118 | #include <string.h> | 118 | #include <string.h> |
| 119 | 119 | ||
| 120 | #include "ssl_locl.h" | ||
| 121 | |||
| 122 | #include <openssl/buffer.h> | 120 | #include <openssl/buffer.h> |
| 123 | #include <openssl/evp.h> | 121 | #include <openssl/evp.h> |
| 124 | #include <openssl/objects.h> | 122 | #include <openssl/objects.h> |
| @@ -127,6 +125,7 @@ | |||
| 127 | #include "bytestring.h" | 125 | #include "bytestring.h" |
| 128 | #include "dtls_locl.h" | 126 | #include "dtls_locl.h" |
| 129 | #include "pqueue.h" | 127 | #include "pqueue.h" |
| 128 | #include "ssl_locl.h" | ||
| 130 | 129 | ||
| 131 | #define RSMBLY_BITMASK_SIZE(msg_len) (((msg_len) + 7) / 8) | 130 | #define RSMBLY_BITMASK_SIZE(msg_len) (((msg_len) + 7) / 8) |
| 132 | 131 | ||
diff --git a/src/lib/libssl/s3_cbc.c b/src/lib/libssl/s3_cbc.c index 4f84c9485b..1c0286f087 100644 --- a/src/lib/libssl/s3_cbc.c +++ b/src/lib/libssl/s3_cbc.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: s3_cbc.c,v 1.23 2020/10/03 17:35:16 jsing Exp $ */ | 1 | /* $OpenBSD: s3_cbc.c,v 1.24 2021/05/16 14:10:43 jsing Exp $ */ |
| 2 | /* ==================================================================== | 2 | /* ==================================================================== |
| 3 | * Copyright (c) 2012 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2012 The OpenSSL Project. All rights reserved. |
| 4 | * | 4 | * |
| @@ -53,11 +53,11 @@ | |||
| 53 | * | 53 | * |
| 54 | */ | 54 | */ |
| 55 | 55 | ||
| 56 | #include "ssl_locl.h" | ||
| 57 | |||
| 58 | #include <openssl/md5.h> | 56 | #include <openssl/md5.h> |
| 59 | #include <openssl/sha.h> | 57 | #include <openssl/sha.h> |
| 60 | 58 | ||
| 59 | #include "ssl_locl.h" | ||
| 60 | |||
| 61 | /* MAX_HASH_BIT_COUNT_BYTES is the maximum number of bytes in the hash's length | 61 | /* MAX_HASH_BIT_COUNT_BYTES is the maximum number of bytes in the hash's length |
| 62 | * field. (SHA-384/512 have 128-bit length.) */ | 62 | * field. (SHA-384/512 have 128-bit length.) */ |
| 63 | #define MAX_HASH_BIT_COUNT_BYTES 16 | 63 | #define MAX_HASH_BIT_COUNT_BYTES 16 |
diff --git a/src/lib/libssl/ssl_asn1.c b/src/lib/libssl/ssl_asn1.c index cea2b31f47..6ff7ca5476 100644 --- a/src/lib/libssl/ssl_asn1.c +++ b/src/lib/libssl/ssl_asn1.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_asn1.c,v 1.58 2021/03/29 18:24:04 tb Exp $ */ | 1 | /* $OpenBSD: ssl_asn1.c,v 1.59 2021/05/16 14:10:43 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2016 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2016 Joel Sing <jsing@openbsd.org> |
| 4 | * | 4 | * |
| @@ -20,9 +20,8 @@ | |||
| 20 | #include <openssl/ssl.h> | 20 | #include <openssl/ssl.h> |
| 21 | #include <openssl/x509.h> | 21 | #include <openssl/x509.h> |
| 22 | 22 | ||
| 23 | #include "ssl_locl.h" | ||
| 24 | |||
| 25 | #include "bytestring.h" | 23 | #include "bytestring.h" |
| 24 | #include "ssl_locl.h" | ||
| 26 | 25 | ||
| 27 | #define SSLASN1_TAG (CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC) | 26 | #define SSLASN1_TAG (CBS_ASN1_CONSTRUCTED | CBS_ASN1_CONTEXT_SPECIFIC) |
| 28 | #define SSLASN1_TIME_TAG (SSLASN1_TAG | 1) | 27 | #define SSLASN1_TIME_TAG (SSLASN1_TAG | 1) |
diff --git a/src/lib/libssl/ssl_clnt.c b/src/lib/libssl/ssl_clnt.c index abfe5c7d60..be9d6878d7 100644 --- a/src/lib/libssl/ssl_clnt.c +++ b/src/lib/libssl/ssl_clnt.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_clnt.c,v 1.98 2021/05/16 13:56:30 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_clnt.c,v 1.99 2021/05/16 14:10:43 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 | * |
| @@ -152,8 +152,6 @@ | |||
| 152 | #include <stdint.h> | 152 | #include <stdint.h> |
| 153 | #include <stdio.h> | 153 | #include <stdio.h> |
| 154 | 154 | ||
| 155 | #include "ssl_locl.h" | ||
| 156 | |||
| 157 | #include <openssl/bn.h> | 155 | #include <openssl/bn.h> |
| 158 | #include <openssl/buffer.h> | 156 | #include <openssl/buffer.h> |
| 159 | #include <openssl/curve25519.h> | 157 | #include <openssl/curve25519.h> |
| @@ -172,6 +170,7 @@ | |||
| 172 | 170 | ||
| 173 | #include "bytestring.h" | 171 | #include "bytestring.h" |
| 174 | #include "dtls_locl.h" | 172 | #include "dtls_locl.h" |
| 173 | #include "ssl_locl.h" | ||
| 175 | #include "ssl_sigalgs.h" | 174 | #include "ssl_sigalgs.h" |
| 176 | #include "ssl_tlsext.h" | 175 | #include "ssl_tlsext.h" |
| 177 | 176 | ||
diff --git a/src/lib/libssl/ssl_lib.c b/src/lib/libssl/ssl_lib.c index c6c499eb02..4fa011ebc5 100644 --- a/src/lib/libssl/ssl_lib.c +++ b/src/lib/libssl/ssl_lib.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_lib.c,v 1.258 2021/05/16 13:56:31 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_lib.c,v 1.259 2021/05/16 14:10:43 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 | * |
| @@ -146,8 +146,6 @@ | |||
| 146 | 146 | ||
| 147 | #include <stdio.h> | 147 | #include <stdio.h> |
| 148 | 148 | ||
| 149 | #include "ssl_locl.h" | ||
| 150 | |||
| 151 | #include <openssl/bn.h> | 149 | #include <openssl/bn.h> |
| 152 | #include <openssl/dh.h> | 150 | #include <openssl/dh.h> |
| 153 | #include <openssl/lhash.h> | 151 | #include <openssl/lhash.h> |
| @@ -162,6 +160,7 @@ | |||
| 162 | 160 | ||
| 163 | #include "bytestring.h" | 161 | #include "bytestring.h" |
| 164 | #include "dtls_locl.h" | 162 | #include "dtls_locl.h" |
| 163 | #include "ssl_locl.h" | ||
| 165 | #include "ssl_sigalgs.h" | 164 | #include "ssl_sigalgs.h" |
| 166 | 165 | ||
| 167 | const char *SSL_version_str = OPENSSL_VERSION_TEXT; | 166 | const char *SSL_version_str = OPENSSL_VERSION_TEXT; |
diff --git a/src/lib/libssl/ssl_packet.c b/src/lib/libssl/ssl_packet.c index b383fe83e9..0a0c5a29df 100644 --- a/src/lib/libssl/ssl_packet.c +++ b/src/lib/libssl/ssl_packet.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_packet.c,v 1.10 2021/02/25 17:06:05 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_packet.c,v 1.11 2021/05/16 14:10:43 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2016, 2017 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2016, 2017 Joel Sing <jsing@openbsd.org> |
| 4 | * | 4 | * |
| @@ -15,9 +15,8 @@ | |||
| 15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #include "ssl_locl.h" | ||
| 19 | |||
| 20 | #include "bytestring.h" | 18 | #include "bytestring.h" |
| 19 | #include "ssl_locl.h" | ||
| 21 | 20 | ||
| 22 | static int | 21 | static int |
| 23 | ssl_is_sslv2_client_hello(CBS *header) | 22 | ssl_is_sslv2_client_hello(CBS *header) |
diff --git a/src/lib/libssl/ssl_pkt.c b/src/lib/libssl/ssl_pkt.c index ba59aa3237..ae47055079 100644 --- a/src/lib/libssl/ssl_pkt.c +++ b/src/lib/libssl/ssl_pkt.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_pkt.c,v 1.42 2021/05/02 17:46:58 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_pkt.c,v 1.43 2021/05/16 14:10:43 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 | * |
| @@ -112,12 +112,11 @@ | |||
| 112 | #include <errno.h> | 112 | #include <errno.h> |
| 113 | #include <stdio.h> | 113 | #include <stdio.h> |
| 114 | 114 | ||
| 115 | #include "ssl_locl.h" | ||
| 116 | |||
| 117 | #include <openssl/buffer.h> | 115 | #include <openssl/buffer.h> |
| 118 | #include <openssl/evp.h> | 116 | #include <openssl/evp.h> |
| 119 | 117 | ||
| 120 | #include "bytestring.h" | 118 | #include "bytestring.h" |
| 119 | #include "ssl_locl.h" | ||
| 121 | 120 | ||
| 122 | static int do_ssl3_write(SSL *s, int type, const unsigned char *buf, | 121 | static int do_ssl3_write(SSL *s, int type, const unsigned char *buf, |
| 123 | unsigned int len); | 122 | unsigned int len); |
diff --git a/src/lib/libssl/ssl_rsa.c b/src/lib/libssl/ssl_rsa.c index 18ae5307d3..bada2482f8 100644 --- a/src/lib/libssl/ssl_rsa.c +++ b/src/lib/libssl/ssl_rsa.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_rsa.c,v 1.32 2021/03/19 19:51:07 tb Exp $ */ | 1 | /* $OpenBSD: ssl_rsa.c,v 1.33 2021/05/16 14:10:43 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 | * |
| @@ -58,14 +58,14 @@ | |||
| 58 | 58 | ||
| 59 | #include <stdio.h> | 59 | #include <stdio.h> |
| 60 | 60 | ||
| 61 | #include "ssl_locl.h" | ||
| 62 | |||
| 63 | #include <openssl/bio.h> | 61 | #include <openssl/bio.h> |
| 64 | #include <openssl/evp.h> | 62 | #include <openssl/evp.h> |
| 65 | #include <openssl/objects.h> | 63 | #include <openssl/objects.h> |
| 66 | #include <openssl/pem.h> | 64 | #include <openssl/pem.h> |
| 67 | #include <openssl/x509.h> | 65 | #include <openssl/x509.h> |
| 68 | 66 | ||
| 67 | #include "ssl_locl.h" | ||
| 68 | |||
| 69 | static int ssl_set_cert(CERT *c, X509 *x509); | 69 | static int ssl_set_cert(CERT *c, X509 *x509); |
| 70 | static int ssl_set_pkey(CERT *c, EVP_PKEY *pkey); | 70 | static int ssl_set_pkey(CERT *c, EVP_PKEY *pkey); |
| 71 | static int use_certificate_chain_bio(BIO *in, CERT *cert, | 71 | static int use_certificate_chain_bio(BIO *in, CERT *cert, |
diff --git a/src/lib/libssl/ssl_srvr.c b/src/lib/libssl/ssl_srvr.c index 1d63c21af1..c4bcd228ef 100644 --- a/src/lib/libssl/ssl_srvr.c +++ b/src/lib/libssl/ssl_srvr.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_srvr.c,v 1.110 2021/05/16 13:56:31 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_srvr.c,v 1.111 2021/05/16 14:10:43 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 | * |
| @@ -150,8 +150,6 @@ | |||
| 150 | 150 | ||
| 151 | #include <stdio.h> | 151 | #include <stdio.h> |
| 152 | 152 | ||
| 153 | #include "ssl_locl.h" | ||
| 154 | |||
| 155 | #include <openssl/bn.h> | 153 | #include <openssl/bn.h> |
| 156 | #include <openssl/buffer.h> | 154 | #include <openssl/buffer.h> |
| 157 | #include <openssl/curve25519.h> | 155 | #include <openssl/curve25519.h> |
| @@ -169,6 +167,7 @@ | |||
| 169 | 167 | ||
| 170 | #include "bytestring.h" | 168 | #include "bytestring.h" |
| 171 | #include "dtls_locl.h" | 169 | #include "dtls_locl.h" |
| 170 | #include "ssl_locl.h" | ||
| 172 | #include "ssl_sigalgs.h" | 171 | #include "ssl_sigalgs.h" |
| 173 | #include "ssl_tlsext.h" | 172 | #include "ssl_tlsext.h" |
| 174 | 173 | ||
diff --git a/src/lib/libssl/ssl_tlsext.c b/src/lib/libssl/ssl_tlsext.c index be3756a9fe..2bf7d5a051 100644 --- a/src/lib/libssl/ssl_tlsext.c +++ b/src/lib/libssl/ssl_tlsext.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_tlsext.c,v 1.91 2021/05/16 08:24:21 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_tlsext.c,v 1.92 2021/05/16 14:10:43 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2016, 2017, 2019 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2016, 2017, 2019 Joel Sing <jsing@openbsd.org> |
| 4 | * Copyright (c) 2017 Doug Hogan <doug@openbsd.org> | 4 | * Copyright (c) 2017 Doug Hogan <doug@openbsd.org> |
| @@ -22,9 +22,8 @@ | |||
| 22 | #include <openssl/ocsp.h> | 22 | #include <openssl/ocsp.h> |
| 23 | #include <openssl/opensslconf.h> | 23 | #include <openssl/opensslconf.h> |
| 24 | 24 | ||
| 25 | #include "ssl_locl.h" | ||
| 26 | |||
| 27 | #include "bytestring.h" | 25 | #include "bytestring.h" |
| 26 | #include "ssl_locl.h" | ||
| 28 | #include "ssl_sigalgs.h" | 27 | #include "ssl_sigalgs.h" |
| 29 | #include "ssl_tlsext.h" | 28 | #include "ssl_tlsext.h" |
| 30 | 29 | ||
diff --git a/src/lib/libssl/ssl_transcript.c b/src/lib/libssl/ssl_transcript.c index 688f6dca43..47aa15adc2 100644 --- a/src/lib/libssl/ssl_transcript.c +++ b/src/lib/libssl/ssl_transcript.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ssl_transcript.c,v 1.4 2021/05/02 16:00:33 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_transcript.c,v 1.5 2021/05/16 14:10:43 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2017 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2017 Joel Sing <jsing@openbsd.org> |
| 4 | * | 4 | * |
| @@ -15,10 +15,10 @@ | |||
| 15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #include "ssl_locl.h" | ||
| 19 | |||
| 20 | #include <openssl/ssl.h> | 18 | #include <openssl/ssl.h> |
| 21 | 19 | ||
| 20 | #include "ssl_locl.h" | ||
| 21 | |||
| 22 | int | 22 | int |
| 23 | tls1_transcript_hash_init(SSL *s) | 23 | tls1_transcript_hash_init(SSL *s) |
| 24 | { | 24 | { |
diff --git a/src/lib/libssl/t1_enc.c b/src/lib/libssl/t1_enc.c index 9dc4a0bfb4..16ed5fa65f 100644 --- a/src/lib/libssl/t1_enc.c +++ b/src/lib/libssl/t1_enc.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: t1_enc.c,v 1.146 2021/05/16 13:56:31 jsing Exp $ */ | 1 | /* $OpenBSD: t1_enc.c,v 1.147 2021/05/16 14:10:43 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 | * |
| @@ -138,14 +138,13 @@ | |||
| 138 | #include <limits.h> | 138 | #include <limits.h> |
| 139 | #include <stdio.h> | 139 | #include <stdio.h> |
| 140 | 140 | ||
| 141 | #include "ssl_locl.h" | ||
| 142 | |||
| 143 | #include <openssl/evp.h> | 141 | #include <openssl/evp.h> |
| 144 | #include <openssl/hmac.h> | 142 | #include <openssl/hmac.h> |
| 145 | #include <openssl/md5.h> | 143 | #include <openssl/md5.h> |
| 146 | #include <openssl/opensslconf.h> | 144 | #include <openssl/opensslconf.h> |
| 147 | 145 | ||
| 148 | #include "dtls_locl.h" | 146 | #include "dtls_locl.h" |
| 147 | #include "ssl_locl.h" | ||
| 149 | 148 | ||
| 150 | void | 149 | void |
| 151 | tls1_cleanup_key_block(SSL *s) | 150 | tls1_cleanup_key_block(SSL *s) |
diff --git a/src/lib/libssl/t1_lib.c b/src/lib/libssl/t1_lib.c index 7c9aba90d0..78ac1f5acc 100644 --- a/src/lib/libssl/t1_lib.c +++ b/src/lib/libssl/t1_lib.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: t1_lib.c,v 1.179 2020/12/05 19:33:38 tb Exp $ */ | 1 | /* $OpenBSD: t1_lib.c,v 1.180 2021/05/16 14:10:43 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 | * |
| @@ -116,9 +116,8 @@ | |||
| 116 | #include <openssl/objects.h> | 116 | #include <openssl/objects.h> |
| 117 | #include <openssl/ocsp.h> | 117 | #include <openssl/ocsp.h> |
| 118 | 118 | ||
| 119 | #include "ssl_locl.h" | ||
| 120 | |||
| 121 | #include "bytestring.h" | 119 | #include "bytestring.h" |
| 120 | #include "ssl_locl.h" | ||
| 122 | #include "ssl_sigalgs.h" | 121 | #include "ssl_sigalgs.h" |
| 123 | #include "ssl_tlsext.h" | 122 | #include "ssl_tlsext.h" |
| 124 | 123 | ||
diff --git a/src/lib/libssl/tls13_buffer.c b/src/lib/libssl/tls13_buffer.c index bc10abded2..49f2f1e21b 100644 --- a/src/lib/libssl/tls13_buffer.c +++ b/src/lib/libssl/tls13_buffer.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: tls13_buffer.c,v 1.3 2020/03/10 17:11:25 jsing Exp $ */ | 1 | /* $OpenBSD: tls13_buffer.c,v 1.4 2021/05/16 14:10:43 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2018, 2019 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2018, 2019 Joel Sing <jsing@openbsd.org> |
| 4 | * | 4 | * |
| @@ -15,9 +15,8 @@ | |||
| 15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #include "ssl_locl.h" | ||
| 19 | |||
| 20 | #include "bytestring.h" | 18 | #include "bytestring.h" |
| 19 | #include "ssl_locl.h" | ||
| 21 | #include "tls13_internal.h" | 20 | #include "tls13_internal.h" |
| 22 | 21 | ||
| 23 | struct tls13_buffer { | 22 | struct tls13_buffer { |
diff --git a/src/lib/libssl/tls13_client.c b/src/lib/libssl/tls13_client.c index 05a6fbc862..c7644645ff 100644 --- a/src/lib/libssl/tls13_client.c +++ b/src/lib/libssl/tls13_client.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: tls13_client.c,v 1.78 2021/05/16 10:55:17 jsing Exp $ */ | 1 | /* $OpenBSD: tls13_client.c,v 1.79 2021/05/16 14:10:43 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2018, 2019 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2018, 2019 Joel Sing <jsing@openbsd.org> |
| 4 | * | 4 | * |
| @@ -15,11 +15,10 @@ | |||
| 15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #include "ssl_locl.h" | ||
| 19 | |||
| 20 | #include <openssl/ssl3.h> | 18 | #include <openssl/ssl3.h> |
| 21 | 19 | ||
| 22 | #include "bytestring.h" | 20 | #include "bytestring.h" |
| 21 | #include "ssl_locl.h" | ||
| 23 | #include "ssl_sigalgs.h" | 22 | #include "ssl_sigalgs.h" |
| 24 | #include "ssl_tlsext.h" | 23 | #include "ssl_tlsext.h" |
| 25 | #include "tls13_handshake.h" | 24 | #include "tls13_handshake.h" |
diff --git a/src/lib/libssl/tls13_record.c b/src/lib/libssl/tls13_record.c index c856932b40..931671dd1e 100644 --- a/src/lib/libssl/tls13_record.c +++ b/src/lib/libssl/tls13_record.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: tls13_record.c,v 1.6 2020/05/11 18:08:11 jsing Exp $ */ | 1 | /* $OpenBSD: tls13_record.c,v 1.7 2021/05/16 14:10:43 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2018, 2019 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2018, 2019 Joel Sing <jsing@openbsd.org> |
| 4 | * | 4 | * |
| @@ -16,7 +16,6 @@ | |||
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #include "ssl_locl.h" | 18 | #include "ssl_locl.h" |
| 19 | |||
| 20 | #include "tls13_internal.h" | 19 | #include "tls13_internal.h" |
| 21 | #include "tls13_record.h" | 20 | #include "tls13_record.h" |
| 22 | 21 | ||
diff --git a/src/lib/libssl/tls13_record_layer.c b/src/lib/libssl/tls13_record_layer.c index 4be4bad860..cdb6695a54 100644 --- a/src/lib/libssl/tls13_record_layer.c +++ b/src/lib/libssl/tls13_record_layer.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: tls13_record_layer.c,v 1.59 2021/03/21 17:25:17 jsing Exp $ */ | 1 | /* $OpenBSD: tls13_record_layer.c,v 1.60 2021/05/16 14:10:43 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2018, 2019 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2018, 2019 Joel Sing <jsing@openbsd.org> |
| 4 | * | 4 | * |
| @@ -16,7 +16,6 @@ | |||
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #include "ssl_locl.h" | 18 | #include "ssl_locl.h" |
| 19 | |||
| 20 | #include "tls13_internal.h" | 19 | #include "tls13_internal.h" |
| 21 | #include "tls13_record.h" | 20 | #include "tls13_record.h" |
| 22 | 21 | ||
diff --git a/src/lib/libssl/tls13_server.c b/src/lib/libssl/tls13_server.c index a1c0e122a8..40454f8163 100644 --- a/src/lib/libssl/tls13_server.c +++ b/src/lib/libssl/tls13_server.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: tls13_server.c,v 1.75 2021/05/16 10:55:17 jsing Exp $ */ | 1 | /* $OpenBSD: tls13_server.c,v 1.76 2021/05/16 14:10:43 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2019, 2020 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2019, 2020 Joel Sing <jsing@openbsd.org> |
| 4 | * Copyright (c) 2020 Bob Beck <beck@openbsd.org> | 4 | * Copyright (c) 2020 Bob Beck <beck@openbsd.org> |
| @@ -21,7 +21,6 @@ | |||
| 21 | #include "ssl_locl.h" | 21 | #include "ssl_locl.h" |
| 22 | #include "ssl_sigalgs.h" | 22 | #include "ssl_sigalgs.h" |
| 23 | #include "ssl_tlsext.h" | 23 | #include "ssl_tlsext.h" |
| 24 | |||
| 25 | #include "tls13_handshake.h" | 24 | #include "tls13_handshake.h" |
| 26 | #include "tls13_internal.h" | 25 | #include "tls13_internal.h" |
| 27 | 26 | ||
