diff options
Diffstat (limited to 'src/lib/libssl/pqueue.c')
| -rw-r--r-- | src/lib/libssl/pqueue.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libssl/pqueue.c b/src/lib/libssl/pqueue.c index 602969deb0..aafd0a704e 100644 --- a/src/lib/libssl/pqueue.c +++ b/src/lib/libssl/pqueue.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: pqueue.c,v 1.5 2014/06/12 15:49:31 deraadt Exp $ */ | 1 | /* $OpenBSD: pqueue.c,v 1.7 2025/05/04 10:53:38 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * DTLS implementation written by Nagendra Modadugu | 3 | * DTLS implementation written by Nagendra Modadugu |
| 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. | 4 | * (nagendra@cs.stanford.edu) for the OpenSSL project 2005. |
| @@ -68,7 +68,7 @@ typedef struct _pqueue { | |||
| 68 | } pqueue_s; | 68 | } pqueue_s; |
| 69 | 69 | ||
| 70 | pitem * | 70 | pitem * |
| 71 | pitem_new(unsigned char *prio64be, void *data) | 71 | pitem_new(const unsigned char *prio64be, void *data) |
| 72 | { | 72 | { |
| 73 | pitem *item = malloc(sizeof(pitem)); | 73 | pitem *item = malloc(sizeof(pitem)); |
| 74 | 74 | ||
| @@ -154,7 +154,7 @@ pqueue_pop(pqueue_s *pq) | |||
| 154 | } | 154 | } |
| 155 | 155 | ||
| 156 | pitem * | 156 | pitem * |
| 157 | pqueue_find(pqueue_s *pq, unsigned char *prio64be) | 157 | pqueue_find(pqueue_s *pq, const unsigned char *prio64be) |
| 158 | { | 158 | { |
| 159 | pitem *next; | 159 | pitem *next; |
| 160 | 160 | ||
