summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortobhe <tobhe@cvs.openbsd.org>2021-02-04 20:45:14 +0000
committertobhe <tobhe@cvs.openbsd.org>2021-02-04 20:45:14 +0000
commit79d4d8370a31d9082b7c246ce1edd64ee9c66c0a (patch)
treec26d532f32d0c35b74bc79b8fd57ba58ca06c1b4
parent75cfedbd1c5d0e564418d9c9aaa4d9d49ba9ba48 (diff)
'struct group' is now called 'struct dh_group'.
-rw-r--r--regress/sbin/iked/dh/dhtest.c4
-rw-r--r--regress/sbin/iked/parser/common.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/regress/sbin/iked/dh/dhtest.c b/regress/sbin/iked/dh/dhtest.c
index 3b5a3a7ef9e..6a3f0cbd73e 100644
--- a/regress/sbin/iked/dh/dhtest.c
+++ b/regress/sbin/iked/dh/dhtest.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhtest.c,v 1.3 2020/11/03 20:45:58 tobhe Exp $ */
+/* $OpenBSD: dhtest.c,v 1.4 2021/02/04 20:45:13 tobhe Exp $ */
/* $EOM: dhtest.c,v 1.1 1998/07/18 21:14:20 provos Exp $ */
/*
@@ -56,7 +56,7 @@ main(void)
struct ibuf *buf, *buf2;
struct ibuf *sec, *sec2;
uint8_t *raw, *raw2;
- struct group *group, *group2;
+ struct dh_group *group, *group2;
const char *name[] = { "MODP", "ECP", "CURVE25519" };
group_init();
diff --git a/regress/sbin/iked/parser/common.c b/regress/sbin/iked/parser/common.c
index 5a2ebc8fc93..f2f01eabd13 100644
--- a/regress/sbin/iked/parser/common.c
+++ b/regress/sbin/iked/parser/common.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: common.c,v 1.9 2020/11/26 22:29:32 tobhe Exp $ */
+/* $OpenBSD: common.c,v 1.10 2021/02/04 20:45:13 tobhe Exp $ */
/*
* A bunch of stub functions so we can compile and link ikev2_pld.c
* in a standalone program for testing purposes.
@@ -32,7 +32,7 @@ int sa_stateok(const struct iked_sa *, int);
void sa_state(struct iked *, struct iked_sa *, int);
void ikev2_disable_rekeying(struct iked *, struct iked_sa *);
void ikev2_init_ike_sa(struct iked *, void *);
-struct group *
+struct dh_group *
group_get(u_int32_t);
void timer_set(struct iked *, struct iked_timer *,
void (*)(struct iked *, void *), void *);