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_pkt.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_pkt.c')
-rw-r--r-- | src/lib/libssl/d1_pkt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libssl/d1_pkt.c b/src/lib/libssl/d1_pkt.c index 31ee5a679a..3b3fd95f6f 100644 --- a/src/lib/libssl/d1_pkt.c +++ b/src/lib/libssl/d1_pkt.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: d1_pkt.c,v 1.95 2021/05/05 19:52:00 jsing Exp $ */ | 1 | /* $OpenBSD: d1_pkt.c,v 1.96 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. |
@@ -118,13 +118,13 @@ | |||
118 | #include <errno.h> | 118 | #include <errno.h> |
119 | #include <stdio.h> | 119 | #include <stdio.h> |
120 | 120 | ||
121 | #include "ssl_locl.h" | ||
122 | |||
123 | #include <openssl/buffer.h> | 121 | #include <openssl/buffer.h> |
124 | #include <openssl/evp.h> | 122 | #include <openssl/evp.h> |
125 | 123 | ||
126 | #include "pqueue.h" | ||
127 | #include "bytestring.h" | 124 | #include "bytestring.h" |
125 | #include "dtls_locl.h" | ||
126 | #include "pqueue.h" | ||
127 | #include "ssl_locl.h" | ||
128 | 128 | ||
129 | static int do_dtls1_write(SSL *s, int type, const unsigned char *buf, | 129 | static int do_dtls1_write(SSL *s, int type, const unsigned char *buf, |
130 | unsigned int len); | 130 | unsigned int len); |