diff options
| author | 2020-03-12 17:01:53 +0000 | |
|---|---|---|
| committer | 2020-03-12 17:01:53 +0000 | |
| commit | 6182911e33a2ad3f3fb1c68d36e203f50c40469a (patch) | |
| tree | c16622e95a5e0d111c95e3685ddae988f2613b40 /lib/libssl/d1_lib.c | |
| parent | sync (diff) | |
| download | wireguard-openbsd-6182911e33a2ad3f3fb1c68d36e203f50c40469a.tar.xz wireguard-openbsd-6182911e33a2ad3f3fb1c68d36e203f50c40469a.zip | |
Use internal versions of SSL3_BUFFER, SSL3_RECORD and DTLS1_RECORD_DATA.
SSL3_BUFFER, SSL3_RECORD and DTLS1_RECORD_DATA are currently still in
public headers, even though their usage is internal. This moves to
using _INTERNAL suffixed versions that are in internal headers, which
then allows us to change them without any potential public API fallout.
ok inoguchi@ tb@
Diffstat (limited to 'lib/libssl/d1_lib.c')
| -rw-r--r-- | lib/libssl/d1_lib.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libssl/d1_lib.c b/lib/libssl/d1_lib.c index 6171035d238..b7ba6b1092e 100644 --- a/lib/libssl/d1_lib.c +++ b/lib/libssl/d1_lib.c @@ -1,4 +1,4 @@ -/* $OpenBSD: d1_lib.c,v 1.44 2020/03/10 17:02:21 jsing Exp $ */ +/* $OpenBSD: d1_lib.c,v 1.45 2020/03/12 17:01:53 jsing Exp $ */ /* * DTLS implementation written by Nagendra Modadugu * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. @@ -136,17 +136,17 @@ dtls1_clear_queues(SSL *s) { pitem *item = NULL; hm_fragment *frag = NULL; - DTLS1_RECORD_DATA *rdata; + DTLS1_RECORD_DATA_INTERNAL *rdata; while ((item = pqueue_pop(D1I(s)->unprocessed_rcds.q)) != NULL) { - rdata = (DTLS1_RECORD_DATA *) item->data; + rdata = (DTLS1_RECORD_DATA_INTERNAL *) item->data; free(rdata->rbuf.buf); free(item->data); pitem_free(item); } while ((item = pqueue_pop(D1I(s)->processed_rcds.q)) != NULL) { - rdata = (DTLS1_RECORD_DATA *) item->data; + rdata = (DTLS1_RECORD_DATA_INTERNAL *) item->data; free(rdata->rbuf.buf); free(item->data); pitem_free(item); @@ -167,7 +167,7 @@ dtls1_clear_queues(SSL *s) } while ((item = pqueue_pop(D1I(s)->buffered_app_data.q)) != NULL) { - rdata = (DTLS1_RECORD_DATA *) item->data; + rdata = (DTLS1_RECORD_DATA_INTERNAL *) item->data; free(rdata->rbuf.buf); free(item->data); pitem_free(item); |
