diff options
author | tobhe <tobhe@cvs.openbsd.org> | 2020-08-14 21:13:16 +0000 |
---|---|---|
committer | tobhe <tobhe@cvs.openbsd.org> | 2020-08-14 21:13:16 +0000 |
commit | 6a5220f6dad792431343f75ce7dbbb56404927a3 (patch) | |
tree | 02bad25280a0192620b03cffe8dc7e27e6c400c5 /sbin/iked/config.c | |
parent | 53e0a9bbcf28abaa93afe4ca3838e848de458d7a (diff) |
Clean up unused variables.
Diffstat (limited to 'sbin/iked/config.c')
-rw-r--r-- | sbin/iked/config.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/iked/config.c b/sbin/iked/config.c index 539a7652dc3..577127adb46 100644 --- a/sbin/iked/config.c +++ b/sbin/iked/config.c @@ -1,4 +1,4 @@ -/* $OpenBSD: config.c,v 1.58 2020/07/23 22:01:08 tobhe Exp $ */ +/* $OpenBSD: config.c,v 1.59 2020/08/14 21:13:15 tobhe Exp $ */ /* * Copyright (c) 2019 Tobias Heider <tobias.heider@stusta.de> @@ -739,7 +739,7 @@ config_getpolicy(struct iked *env, struct imsg *imsg) { struct iked_policy *pol; struct iked_proposal pp, *prop; - struct iked_transform xf, *xform; + struct iked_transform xf; off_t offset = 0; unsigned int i, j; uint8_t *buf = (uint8_t *)imsg->data; @@ -771,9 +771,9 @@ config_getpolicy(struct iked *env, struct imsg *imsg) memcpy(&xf, buf + offset, sizeof(xf)); offset += sizeof(xf); - if ((xform = config_add_transform(prop, xf.xform_type, + if (config_add_transform(prop, xf.xform_type, xf.xform_id, xf.xform_length, - xf.xform_keylength)) == NULL) + xf.xform_keylength) == NULL) fatal("config_getpolicy: add transform"); } } |