summaryrefslogtreecommitdiffstats
path: root/lib/libssl/dtls1.h
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2014-05-15 19:39:46 +0000
committermiod <miod@openbsd.org>2014-05-15 19:39:46 +0000
commit25d62bd432b484c8c3ce2f12e9c1b884e67c84eb (patch)
tree6524f168c912a42c9484a10af1f12313bb5dedf0 /lib/libssl/dtls1.h
parentflesh out STANDARDS; ok guenther (diff)
downloadwireguard-openbsd-25d62bd432b484c8c3ce2f12e9c1b884e67c84eb.tar.xz
wireguard-openbsd-25d62bd432b484c8c3ce2f12e9c1b884e67c84eb.zip
No longer make pqueue.h a public (and installed) header file. Replace its
inclusion in <ssl/dtls1.h> by the benign `struct _pqueue; typedef struct _pqueue *pqueue;'. Note that said dtls1.h should probably be considered a private header as well... ok beck@
Diffstat (limited to 'lib/libssl/dtls1.h')
-rw-r--r--lib/libssl/dtls1.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libssl/dtls1.h b/lib/libssl/dtls1.h
index beb740154c0..d91b6e6397c 100644
--- a/lib/libssl/dtls1.h
+++ b/lib/libssl/dtls1.h
@@ -61,7 +61,6 @@
#define HEADER_DTLS1_H
#include <openssl/buffer.h>
-#include <openssl/pqueue.h>
#include <sys/time.h>
#ifdef __cplusplus
@@ -146,6 +145,9 @@ struct dtls1_timeout_st {
unsigned int num_alerts;
};
+struct _pqueue;
+typedef struct _pqueue *pqueue;
+
typedef struct record_pqueue_st {
unsigned short epoch;
pqueue q;