diff options
author | jsing <> | 2021-05-16 13:56:31 +0000 |
---|---|---|
committer | jsing <> | 2021-05-16 13:56:31 +0000 |
commit | 6eb9f4e8d442a1181957027a462b0fd7230baeba (patch) | |
tree | e59ed0b0555e9f15cbdb2eec4de487cb9336b8c5 /src/lib/libssl/d1_both.c | |
parent | a2af7b496e0aa8d2dbb66a0218ead36ed0e52edc (diff) | |
download | openbsd-6eb9f4e8d442a1181957027a462b0fd7230baeba.tar.gz openbsd-6eb9f4e8d442a1181957027a462b0fd7230baeba.tar.bz2 openbsd-6eb9f4e8d442a1181957027a462b0fd7230baeba.zip |
Move DTLS structs/definitions/prototypes to dtls_locl.h.
Now that the DTLS structs are opaque, add a dtls_locl.h header and move
internal-only structs from dtls1.h, along with prototypes from ssl_locl.h.
Only pull this header in where DTLS code actually exists.
ok inoguchi@ tb@
Diffstat (limited to 'src/lib/libssl/d1_both.c')
-rw-r--r-- | src/lib/libssl/d1_both.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libssl/d1_both.c b/src/lib/libssl/d1_both.c index 3b9880b600..22bd3cec2a 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.70 2021/05/05 19:52:00 jsing Exp $ */ | 1 | /* $OpenBSD: d1_both.c,v 1.71 2021/05/16 13:56:30 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. |
@@ -124,8 +124,9 @@ | |||
124 | #include <openssl/objects.h> | 124 | #include <openssl/objects.h> |
125 | #include <openssl/x509.h> | 125 | #include <openssl/x509.h> |
126 | 126 | ||
127 | #include "pqueue.h" | ||
128 | #include "bytestring.h" | 127 | #include "bytestring.h" |
128 | #include "dtls_locl.h" | ||
129 | #include "pqueue.h" | ||
129 | 130 | ||
130 | #define RSMBLY_BITMASK_SIZE(msg_len) (((msg_len) + 7) / 8) | 131 | #define RSMBLY_BITMASK_SIZE(msg_len) (((msg_len) + 7) / 8) |
131 | 132 | ||