From: Nils Larsch Date: Wed, 8 Jun 2005 22:22:33 +0000 (+0000) Subject: use "=" instead of "|=", fix typo X-Git-Tag: OpenSSL_0_9_8k^2~2028 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=052ec899279e36359bb0f554732cec5551cf30ea;hp=2073d95fb48268187a554ae8c77aee189a29e193 use "=" instead of "|=", fix typo --- diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c index 038412a92c..b071a6309f 100644 --- a/ssl/ssl_ciph.c +++ b/ssl/ssl_ciph.c @@ -740,11 +740,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;