summaryrefslogtreecommitdiff
path: root/src/lib/libssl/d1_both.c
diff options
context:
space:
mode:
authorjsing <>2021-05-16 13:56:31 +0000
committerjsing <>2021-05-16 13:56:31 +0000
commit6eb9f4e8d442a1181957027a462b0fd7230baeba (patch)
treee59ed0b0555e9f15cbdb2eec4de487cb9336b8c5 /src/lib/libssl/d1_both.c
parenta2af7b496e0aa8d2dbb66a0218ead36ed0e52edc (diff)
downloadopenbsd-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.c5
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