diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-03-05 00:10:44 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-03-05 00:10:44 +0000 |
commit | c20b2a148263b574e0ddce74bcca2f693d1ed7c8 (patch) | |
tree | 6d447db414095e16c7e5505cce29996db9895cb6 /sbin | |
parent | 8d131f412d14960ae0a557aa593266b817403b76 (diff) |
handle constification from new openssl
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/isakmpd/key.c | 4 | ||||
-rw-r--r-- | sbin/isakmpd/key.h | 4 |
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_ */ |