summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2002-03-05 00:10:43 +0000
committerderaadt <deraadt@openbsd.org>2002-03-05 00:10:43 +0000
commit1a403ee192a2ee5b25d299880f5ddcf430925094 (patch)
tree05ac7615c90e22dc2026480af805b2bce7ea7193
parentneed md5.h for prototypes (diff)
downloadwireguard-openbsd-1a403ee192a2ee5b25d299880f5ddcf430925094.tar.xz
wireguard-openbsd-1a403ee192a2ee5b25d299880f5ddcf430925094.zip
handle constification from new openssl
-rw-r--r--sbin/isakmpd/key.c4
-rw-r--r--sbin/isakmpd/key.h4
2 files changed, 4 insertions, 4 deletions
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_ */