diff options
author | tb <> | 2025-05-04 10:47:02 +0000 |
---|---|---|
committer | tb <> | 2025-05-04 10:47:02 +0000 |
commit | 93ddb6abbf6f982833c07b4d4b8742ffe27667bb (patch) | |
tree | afd95e64d1e1a46752229fa82cb9cfd78dffe105 /src/lib/libssl/pqueue.c | |
parent | ab1eac0c4761085b0ec9fe7629dc4a34e0019179 (diff) | |
download | openbsd-93ddb6abbf6f982833c07b4d4b8742ffe27667bb.tar.gz openbsd-93ddb6abbf6f982833c07b4d4b8742ffe27667bb.tar.bz2 openbsd-93ddb6abbf6f982833c07b4d4b8742ffe27667bb.zip |
const correct first argument of pitem_new()
Makes upcoming changes in regress less ugly.
Diffstat (limited to 'src/lib/libssl/pqueue.c')
-rw-r--r-- | src/lib/libssl/pqueue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libssl/pqueue.c b/src/lib/libssl/pqueue.c index 602969deb0..580b878534 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.6 2025/05/04 10:47:02 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 | ||