summaryrefslogtreecommitdiff
path: root/lib/libssl/dtls1.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2014-05-15 19:39:47 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2014-05-15 19:39:47 +0000
commit3fb8c691b2af959e856ebae9f6b357637db64c6e (patch)
tree6c74b1e78a0e970c35766ee13233e09013d31f4c /lib/libssl/dtls1.h
parentff0b14639b588b773017df1a3cd136f52012ef23 (diff)
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;