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/ssl_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/ssl_both.c')
-rw-r--r-- | src/lib/libssl/ssl_both.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/ssl_both.c b/src/lib/libssl/ssl_both.c index c133449a6d..40dddd0805 100644 --- a/src/lib/libssl/ssl_both.c +++ b/src/lib/libssl/ssl_both.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssl_both.c,v 1.30 2021/05/02 15:55:29 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_both.c,v 1.31 2021/05/16 13:56:30 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 | * |
@@ -118,14 +118,14 @@ | |||
118 | #include <stdio.h> | 118 | #include <stdio.h> |
119 | #include <string.h> | 119 | #include <string.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 | #include <openssl/objects.h> | 123 | #include <openssl/objects.h> |
126 | #include <openssl/x509.h> | 124 | #include <openssl/x509.h> |
127 | 125 | ||
128 | #include "bytestring.h" | 126 | #include "bytestring.h" |
127 | #include "dtls_locl.h" | ||
128 | #include "ssl_locl.h" | ||
129 | 129 | ||
130 | /* | 130 | /* |
131 | * Send s->internal->init_buf in records of type 'type' (SSL3_RT_HANDSHAKE or | 131 | * Send s->internal->init_buf in records of type 'type' (SSL3_RT_HANDSHAKE or |