summaryrefslogtreecommitdiff
path: root/src/lib/libssl/dtls1.h
diff options
context:
space:
mode:
authormiod <>2014-05-15 19:39:46 +0000
committermiod <>2014-05-15 19:39:46 +0000
commit8bfccde54e4165db2d95797d53f16cb1978af3da (patch)
tree90a6f068b9c6a7ff99b8af99834a159647dc08fb /src/lib/libssl/dtls1.h
parentfadbce26b3ee4c2f77bd19a8b33161719b0fe5ba (diff)
downloadopenbsd-8bfccde54e4165db2d95797d53f16cb1978af3da.tar.gz
openbsd-8bfccde54e4165db2d95797d53f16cb1978af3da.tar.bz2
openbsd-8bfccde54e4165db2d95797d53f16cb1978af3da.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 'src/lib/libssl/dtls1.h')
-rw-r--r--src/lib/libssl/dtls1.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libssl/dtls1.h b/src/lib/libssl/dtls1.h
index beb740154c..d91b6e6397 100644
--- a/src/lib/libssl/dtls1.h
+++ b/src/lib/libssl/dtls1.h
@@ -61,7 +61,6 @@
61#define HEADER_DTLS1_H 61#define HEADER_DTLS1_H
62 62
63#include <openssl/buffer.h> 63#include <openssl/buffer.h>
64#include <openssl/pqueue.h>
65#include <sys/time.h> 64#include <sys/time.h>
66 65
67#ifdef __cplusplus 66#ifdef __cplusplus
@@ -146,6 +145,9 @@ struct dtls1_timeout_st {
146 unsigned int num_alerts; 145 unsigned int num_alerts;
147}; 146};
148 147
148struct _pqueue;
149typedef struct _pqueue *pqueue;
150
149typedef struct record_pqueue_st { 151typedef struct record_pqueue_st {
150 unsigned short epoch; 152 unsigned short epoch;
151 pqueue q; 153 pqueue q;