summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_ciph.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2020-04-09 17:24:11 +0000
committerjsing <jsing@openbsd.org>2020-04-09 17:24:11 +0000
commitb0082fd32695cedb4e14925f69e0e10f17214e9a (patch)
tree464260b0b0845a378a28165bce2b0f64f67db3f1 /lib/libssl/ssl_ciph.c
parentssl_aes_is_accelerated() returns a boolean - treat it as such, rather than (diff)
downloadwireguard-openbsd-b0082fd32695cedb4e14925f69e0e10f17214e9a.tar.xz
wireguard-openbsd-b0082fd32695cedb4e14925f69e0e10f17214e9a.zip
Tidy line wrapping and remove an extra blank line.
Diffstat (limited to 'lib/libssl/ssl_ciph.c')
-rw-r--r--lib/libssl/ssl_ciph.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libssl/ssl_ciph.c b/lib/libssl/ssl_ciph.c
index 20a9005ee22..393f0fbd188 100644
--- a/lib/libssl/ssl_ciph.c
+++ b/lib/libssl/ssl_ciph.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_ciph.c,v 1.111 2020/04/09 17:22:52 jsing Exp $ */
+/* $OpenBSD: ssl_ciph.c,v 1.112 2020/04/09 17:24:11 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -758,14 +758,13 @@ ssl_cipher_collect_aliases(const SSL_CIPHER **ca_list, int num_of_group_aliases,
static void
ssl_cipher_apply_rule(unsigned long cipher_id, unsigned long alg_mkey,
unsigned long alg_auth, unsigned long alg_enc, unsigned long alg_mac,
- unsigned long alg_ssl, unsigned long algo_strength,
- int rule, int strength_bits, CIPHER_ORDER **head_p, CIPHER_ORDER **tail_p)
+ unsigned long alg_ssl, unsigned long algo_strength, int rule,
+ int strength_bits, CIPHER_ORDER **head_p, CIPHER_ORDER **tail_p)
{
CIPHER_ORDER *head, *tail, *curr, *next, *last;
const SSL_CIPHER *cp;
int reverse = 0;
-
if (rule == CIPHER_DEL)
reverse = 1; /* needed to maintain sorting between currently deleted ciphers */