use "=" instead of "|=", fix typo
This commit is contained in:
parent
004f16f6c4
commit
898d3ecce0
@ -740,11 +740,11 @@ static int ssl_cipher_process_rulestr(const char *rule_str,
|
|||||||
if (!found)
|
if (!found)
|
||||||
break; /* ignore this entry */
|
break; /* ignore this entry */
|
||||||
|
|
||||||
algorithms |= (ca_list[j]->algorithms & ~mask) |
|
algorithms = (ca_list[j]->algorithms & ~mask) |
|
||||||
(ca_list[j]->algorithms & algorithms & mask);
|
(ca_list[j]->algorithms & algorithms & mask);
|
||||||
mask |= ca_list[j]->mask;
|
mask |= ca_list[j]->mask;
|
||||||
algo_strength |= (ca_list[j]->algo_strength & ~mask_strength) |
|
algo_strength = (ca_list[j]->algo_strength & ~mask_strength) |
|
||||||
(ca_list[j]->algo_strength & algorithms & mask_strength);
|
(ca_list[j]->algo_strength & algo_strength & mask_strength);
|
||||||
mask_strength |= ca_list[j]->mask_strength;
|
mask_strength |= ca_list[j]->mask_strength;
|
||||||
|
|
||||||
if (!multi) break;
|
if (!multi) break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user