From 0eb8e0058cc4007420a1e15651697f75e7fde5f4 Mon Sep 17 00:00:00 2001 From: Nils Larsch Date: Wed, 8 Jun 2005 22:24:27 +0000 Subject: [PATCH] use "=" instead of "|=", fix typo --- ssl/ssl_ciph.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c index 40644ba880..2b8a37397c 100644 --- a/ssl/ssl_ciph.c +++ b/ssl/ssl_ciph.c @@ -700,11 +700,11 @@ static int ssl_cipher_process_rulestr(const char *rule_str, if (!found) break; /* ignore this entry */ - algorithms |= (ca_list[j]->algorithms & ~mask) | - (ca_list[j]->algorithms & algorithms & mask); + algorithms = (ca_list[j]->algorithms & ~mask) | + (ca_list[j]->algorithms & algorithms & mask); mask |= ca_list[j]->mask; - algo_strength |= (ca_list[j]->algo_strength & ~mask_strength) | - (ca_list[j]->algo_strength & algorithms & mask_strength); + algo_strength = (ca_list[j]->algo_strength & ~mask_strength) | + (ca_list[j]->algo_strength & algo_strength & mask_strength); mask_strength |= ca_list[j]->mask_strength; if (!multi) break; -- 2.25.1