From c20b2a148263b574e0ddce74bcca2f693d1ed7c8 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 5 Mar 2002 00:10:44 +0000 Subject: handle constification from new openssl --- sbin/isakmpd/key.c | 4 ++-- sbin/isakmpd/key.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sbin/isakmpd') diff --git a/sbin/isakmpd/key.c b/sbin/isakmpd/key.c index 24a916ae57d..fbd9c966d8d 100644 --- a/sbin/isakmpd/key.c +++ b/sbin/isakmpd/key.c @@ -1,4 +1,4 @@ -/* $OpenBSD: key.c,v 1.6 2002/01/23 18:44:47 ho Exp $ */ +/* $OpenBSD: key.c,v 1.7 2002/03/05 00:10:43 deraadt Exp $ */ /* * The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu) * @@ -124,7 +124,7 @@ key_printable (int type, int private, u_int8_t *data, int datalen) /* Convert from serialized to internal. */ void * -key_internalize (int type, int private, u_int8_t *data, int datalen) +key_internalize (int type, int private, const u_int8_t *data, int datalen) { switch (type) { diff --git a/sbin/isakmpd/key.h b/sbin/isakmpd/key.h index 8050b601d5c..790313d5897 100644 --- a/sbin/isakmpd/key.h +++ b/sbin/isakmpd/key.h @@ -1,4 +1,4 @@ -/* $OpenBSD: key.h,v 1.3 2001/07/02 02:28:35 deraadt Exp $ */ +/* $OpenBSD: key.h,v 1.4 2002/03/05 00:10:43 deraadt Exp $ */ /* * The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu) * @@ -35,5 +35,5 @@ void key_free (int, int, void *); void key_serialize (int, int, void *, u_int8_t **, size_t *); char *key_printable (int, int, u_int8_t *, int); void key_from_printable (int, int, char *, u_int8_t **, int *); -void *key_internalize (int, int, u_int8_t *, int); +void *key_internalize (int, int, const u_int8_t *, int); #endif /* _KEY_H_ */ -- cgit v1.2.3