[openssl-commits] [openssl] master update

Matt Caswell matt at openssl.org
Mon Apr 11 13:33:09 UTC 2016


The branch master has been updated
       via  f8c3f2b4eda697a35b213d44df627190d03c694f (commit)
      from  2af22b7dd56e5464984aeaf9c025674deef3aada (commit)


- Log -----------------------------------------------------------------
commit f8c3f2b4eda697a35b213d44df627190d03c694f
Author: Matt Caswell <matt at openssl.org>
Date:   Mon Apr 11 13:46:11 2016 +0100

    Remove an unused function
    
    The function pqueue_print is not exported and is never called. Therefore
    we should delete it.
    
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    Reviewed-by: Rich Salz <rsalz at openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 ssl/pqueue.c   | 14 --------------
 ssl/ssl_locl.h |  1 -
 2 files changed, 15 deletions(-)

diff --git a/ssl/pqueue.c b/ssl/pqueue.c
index c9f21ca..d6cef34 100644
--- a/ssl/pqueue.c
+++ b/ssl/pqueue.c
@@ -171,20 +171,6 @@ pitem *pqueue_find(pqueue *pq, unsigned char *prio64be)
     return found;
 }
 
-void pqueue_print(pqueue *pq)
-{
-    pitem *item = pq->items;
-
-    while (item != NULL) {
-        printf("item\t%02x%02x%02x%02x%02x%02x%02x%02x\n",
-               item->priority[0], item->priority[1],
-               item->priority[2], item->priority[3],
-               item->priority[4], item->priority[5],
-               item->priority[6], item->priority[7]);
-        item = item->next;
-    }
-}
-
 pitem *pqueue_iterator(pqueue *pq)
 {
     return pqueue_peek(pq);
diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h
index c03c12b..c02dbbb 100644
--- a/ssl/ssl_locl.h
+++ b/ssl/ssl_locl.h
@@ -1464,7 +1464,6 @@ pitem *pqueue_pop(pqueue *pq);
 pitem *pqueue_find(pqueue *pq, unsigned char *prio64be);
 pitem *pqueue_iterator(pqueue *pq);
 pitem *pqueue_next(piterator *iter);
-void pqueue_print(pqueue *pq);
 int pqueue_size(pqueue *pq);
 
 typedef struct dtls1_state_st {


More information about the openssl-commits mailing list