summaryrefslogtreecommitdiff
path: root/ssl/pqueue.c
diff options
context:
space:
mode:
authorXiaoyin Liu <xiaoyinl@users.noreply.github.com>2017-07-29 19:20:47 -0400
committerRich Salz <rsalz@openssl.org>2017-07-30 17:42:00 -0400
commit3c051806ce842ebcc56b4818fa2fdf0fe3ee5c34 (patch)
tree12dae245b084d47ce7069e444812dae17008285a /ssl/pqueue.c
parent00f3a013c30736a37c90c47d5a45191eaa3051c7 (diff)
downloadopenssl-new-3c051806ce842ebcc56b4818fa2fdf0fe3ee5c34.tar.gz
Remove redundant declarations in ssl_locl.h
Remove the function prototypes for ssl_cert_get0_next_certificate, ssl_set_default_md, tls1_shared_list, dtls1_send_newsession_ticket, tls1_ctrl, and tls1_callback_ctrl, all of which are not defined. It also changed the signature of the function pqueue_next to `pitem *pqueue_next(piterator *item)` in pqueue.c, making it match the prototype in ssl_locl.h. (`piterator *` is equivalent to `pitem **`.) Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4049)
Diffstat (limited to 'ssl/pqueue.c')
-rw-r--r--ssl/pqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/pqueue.c b/ssl/pqueue.c
index 7e0ced9909..b431850f22 100644
--- a/ssl/pqueue.c
+++ b/ssl/pqueue.c
@@ -127,7 +127,7 @@ pitem *pqueue_iterator(pqueue *pq)
return pqueue_peek(pq);
}
-pitem *pqueue_next(pitem **item)
+pitem *pqueue_next(piterator *item)
{
pitem *ret;