diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2001-04-09 12:34:39 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2001-04-09 12:34:39 +0000 |
commit | 6714e05ab5511f2d9fce0ff7cb6869a25ae0c92e (patch) | |
tree | 0322c2d33a424015127ed991dd0f895c0dc08933 /sbin/isakmpd/ike_quick_mode.c | |
parent | 00b3f1aea762d93f40cfe41ee1736b454874992b (diff) |
Style police a'la niklas@.
Diffstat (limited to 'sbin/isakmpd/ike_quick_mode.c')
-rw-r--r-- | sbin/isakmpd/ike_quick_mode.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sbin/isakmpd/ike_quick_mode.c b/sbin/isakmpd/ike_quick_mode.c index bc760944441..35a87812a81 100644 --- a/sbin/isakmpd/ike_quick_mode.c +++ b/sbin/isakmpd/ike_quick_mode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ike_quick_mode.c,v 1.46 2001/03/13 14:05:18 ho Exp $ */ +/* $OpenBSD: ike_quick_mode.c,v 1.47 2001/04/09 12:34:37 ho Exp $ */ /* $EOM: ike_quick_mode.c,v 1.139 2001/01/26 10:43:17 niklas Exp $ */ /* @@ -196,11 +196,11 @@ check_policy (struct exchange *exchange, struct sa *sa, struct sa *isakmp_sa) * appropriate prefix tag. */ nprinc = 3; - principal = calloc (nprinc, sizeof(*principal)); + principal = calloc (nprinc, sizeof *principal); if (principal == NULL) { log_error ("check_policy: failed to allocate %d bytes", - nprinc * sizeof(*principal)); + nprinc * sizeof *principal); goto policydone; } @@ -252,11 +252,11 @@ check_policy (struct exchange *exchange, struct sa *sa, struct sa *isakmp_sa) #ifdef USE_KEYNOTE nprinc = 1; - principal = calloc (nprinc, sizeof(*principal)); + principal = calloc (nprinc, sizeof *principal); if (principal == NULL) { log_error ("check_policy: failed to allocate %d bytes", - nprinc * sizeof(*principal)); + nprinc * sizeof *principal); goto policydone; } @@ -280,7 +280,7 @@ check_policy (struct exchange *exchange, struct sa *sa, struct sa *isakmp_sa) goto policydone; } - principal = calloc (2, sizeof(*principal)); + principal = calloc (2, sizeof *principal); if (principal == NULL) { log_error ("check_policy: failed to get memory for principal"); |